Python threading模块,常用函数和类

下面列出了Python threading 模块中定义的常用函数和类,我们从6030个开源Python项目中,按照使用频率进行了排序。

函数和类 使用项目数
1. Thread() 用在(4731)个项目中
2. Lock() 用在(1861)个项目中
3. Event() 用在(1009)个项目中
4. RLock() 用在(757)个项目中
5. local() 用在(590)个项目中
6. Timer() 用在(499)个项目中
7. current_thread() 用在(467)个项目中
8. Condition() 用在(317)个项目中
9. currentThread() 用在(295)个项目中
10. enumerate() 用在(155)个项目中
11. Semaphore() 用在(142)个项目中
12. activeCount() 用在(93)个项目中
13. active_count() 用在(87)个项目中
14. get_ident() 用在(49)个项目中
15. BoundedSemaphore() 用在(47)个项目中
16. _start_new_thread() 用在(26)个项目中
17. ThreadError() 用在(25)个项目中
18. settrace() 用在(25)个项目中
19. main_thread() 用在(21)个项目中
20. stack_size() 用在(20)个项目中
21. _MainThread() 用在(20)个项目中
22. _Event() 用在(19)个项目中
23. _DummyThread() 用在(17)个项目中
24. _active() 用在(16)个项目中
25. _dangling() 用在(15)个项目中
26. Barrier() 用在(14)个项目中
27. _enumerate() 用在(12)个项目中
28. _get_ident() 用在(11)个项目中
29. py() 用在(11)个项目中
30. _limbo() 用在(9)个项目中
31. _Timer() 用在(9)个项目中
32. _shutdown() 用在(8)个项目中
33. BrokenBarrierError() 用在(8)个项目中
34. _Condition() 用在(8)个项目中
35. tread() 用在(6)个项目中
36. _PyRLock() 用在(6)个项目中
37. _RLock() 用在(5)个项目中
38. thread() 用在(5)个项目中
39. _newname() 用在(5)个项目中