Central Queensland Univeristy
MyInfocom
Faculty of Informatics and Communication
You are here: 85349 -> Resources -> Lectures -> 6 -> 30
Search | Site Map
[ Questions or Comments ]
char item; //could be any data type char buffer[n]; semaphore full = 0; //counting semaphore semaphore empty = n; //counting semaphore semaphore mutex = 1; //binary semaphore char nextp, nextc;