Statements (53)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:Python_standard_library_module
|
| gptkbp:canBe |
I/O-bound tasks
concurrent.futures module queue module |
| gptkbp:documentedIn |
https://docs.python.org/3/library/threading.html
|
| gptkbp:introduced |
gptkb:Python_2.4
|
| gptkbp:not_ideal_for |
CPU-bound tasks
|
| gptkbp:provides |
gptkb:Lock_class
gptkb:RLock_class gptkb:Barrier_class gptkb:Semaphore_class gptkb:Thread_class gptkb:Timer_class BrokenBarrierError exception Condition class Condition.notify method Condition.notify_all method Condition.wait method Event class Lock.acquire method Lock.release method TIMEOUT_MAX constant ThreadError exception active_count function current_thread function enumerate function excepthook function getName method get_ident function ident attribute isDaemon method is_alive method join method local class main_thread function name attribute native_id attribute run method setName method setdaemon method setprofile function settrace function stack_size function start method |
| gptkbp:replacedBy |
gptkb:thread_module
|
| gptkbp:subject |
gptkb:Global_Interpreter_Lock_(GIL)
|
| gptkbp:supports |
daemon threads
thread-based parallelism |
| gptkbp:used_in |
multithreaded applications
|
| gptkbp:usedFor |
concurrent execution of code
|
| gptkbp:bfsParent |
gptkb:Global_Interpreter_Lock_(GIL)
|
| gptkbp:bfsLayer |
7
|
| https://www.w3.org/2000/01/rdf-schema#label |
Python threading
|