Home > Term: condition variable
condition variable
A wait queue with additional locking semantics. When a thread sleeps, waiting for some event to occur, it releases a related lock so that another thread can cause that event to occur. When the second thread posts the event, the first thread wakes up, and, depending on the condition variable semantics used, either takes the lock immediately or begins waiting for the lock to become available.
- Μέρος του λόγου: noun
- Κλάδος/Τομέας: Software; Υπολογιστές
- Category: Operating systems
- Company: Apple
0
Δημιουργός
- Tom the translator
- 59.09% positive feedback