December 2000
Intermediate to advanced
816 pages
16h 57m
English
We will now introduce the higher-level threading module which gives you not only a Thread class but also a wide variety of synchronization mechanisms to use to your heart's content. Table 17.2 represents a list of all the objects which are provided for in the threading module.
| threading Module Objects | Description |
|---|---|
| Thread | object which represents a single thread of execution |
| Lock | primitive lock object (same lock object as in the thread module) |
| RLock | re-entrant lock object provides ability for a single thread to (re)acquire an already-held lock (recursive locking) |
| Condition | condition variable object causes one thread to wait until a certain “condition” has been satisfied by another thread, such ... |
Read now
Unlock full access