Movatterモバイル変換


[0]ホーム

URL:


Navigation

17.11._dummy_thread — Drop-in replacement for the_thread module

Source code:Lib/_dummy_thread.py


This module provides a duplicate interface to the_thread module. It ismeant to be imported when the_thread module is not provided on aplatform.

Suggested usage is:

try:import_threadexceptImportError:import_dummy_threadas_thread

Be careful to not use this module where deadlock might occur from a thread beingcreated that blocks waiting for another thread to be created. This often occurswith blocking I/O.

Previous topic

17.10._thread — Low-level threading API

Next topic

18. Interprocess Communication and Networking

This Page

Quick search

Enter search terms or a module, class or function name.

Navigation

©Copyright 1990-2017, Python Software Foundation.
The Python Software Foundation is a non-profit corporation.Please donate.
Last updated on Sep 19, 2017.Found a bug?
Created usingSphinx 1.2.

[8]ページ先頭

©2009-2025 Movatter.jp