Central Queensland Univeristy
MyInfocom
Faculty of Informatics and Communication
You are here: 85349 -> Resources -> Lectures -> 6 -> 17
Search | Site Map
[ Questions or Comments ]
boolean lock = false;
do { while (Test-and-Set(lock)) { /*do nothing*/ } critical section lock = false; remainder section }while (true)