Condition Variables

Mutexes
1968 views
Mutexes

When the semaphore's ability to count is not required, a simplified version of the semaphore, called a mutex, is often used. Mutexes are good only for managing mutual exclusion to some shared resource or piece of code. They are easy and efficient to implement, which makes

Monitors
2171 views
Monitors

With semaphores and mutexes interprocess communication looks easy, right? Forget it. Look closely at the order of the downs before inserting or removing items from the buffer in Semaphores Figigure 1. Assume that the two downs in the producer's code were reversed in

Page 0 of 1 Previous 1 Next