X hits on this document

Powerpoint document

Chapter 10 : Case Study - UNIX - page 17 / 48

130 views

0 shares

0 downloads

0 comments

17 / 48

Ceng 334 - Operating Systems

10-17

Thread Communication – condition variables

For long-term synchronization (such as waiting for a tape to become free) condition variables are used

Condition variables have to be created first and later destroyed like mutexes

A condition variable is used by having one thread wait on it, and another thread signal it. If no thread is waiting when a signal is sent, the signal is lost

Document info
Document views130
Page views130
Page last viewedFri Dec 09 10:34:49 UTC 2016
Pages48
Paragraphs407
Words2238

Comments