For Students
Sunday, 11 March 2012
Critical Section of n Processes
Shared data:
semaphore
mutex
; //
initially
mutex
= 1
Process
Pi:
do {
wait(
mutex
);
critical section
signal(
mutex
);
remainder section
} while (1);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment