X hits on this document

Powerpoint document

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

158 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 views158
Page views158
Page last viewedWed Jan 18 20:51:52 UTC 2017
Pages48
Paragraphs407
Words2238

Comments