2 :mod:`dummy_thread` --- Drop-in replacement for the :mod:`thread` module
3 ========================================================================
5 .. module:: dummy_thread
6 :synopsis: Drop-in replacement for the thread module.
9 This module provides a duplicate interface to the :mod:`thread` module. It is
10 meant to be imported when the :mod:`thread` module is not provided on a
16 import thread as _thread
18 import dummy_thread as _thread
20 Be careful to not use this module where deadlock might occur from a thread
21 being created that blocks waiting for another thread to be created. This often
22 occurs with blocking I/O.