dummy_threading — 直接置换 threading 模块

源代码: Lib/dummy_threading.py

从 3.7 版起弃用: Python now always has threading enabled. Please use threading 代替。


This module provides a duplicate interface to the threading module. It was meant to be imported when the _thread module was not provided on a platform.

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

上一话题

_dummy_thread — 直接置换 _thread 模块

下一话题

网络和进程间通信

本页