In computer science, a semaphore is a variable or abstract data type that provides a simple but useful abstraction for controlling access by multiple processes to a common resource in a parallel programming environment.
Semaphores are a useful tool in the prevention of race conditions and deadlocks;
http://en.wikipedia.org/wiki/Semaphore_%28programming%29
No comments:
Post a Comment