17.8. dummy_threading --- Drop-in replacement for the threading moduleΒΆ
Source code: Lib/dummy_threading.py
This module provides a duplicate interface to the threading module. It
is meant to be imported when the _thread module is not provided on a
platform.
Suggested usage is:
try:
import threading
except ImportError:
import dummy_threading as threading
Berhati-hatilah untuk tidak menggunakan modul ini di mana deadlock mungkin terjadi dari utas yang dibuat memblokir dengan menunggu utas lain dibuat. Ini sering terjadi dengan pemblokiran I / O.
