267 views
0 votes
0 votes
let m[0] ...m[4] be mutexes (binary semaphores) and p[0] and p[4] be processes ...suppose each process p[i] executes the following

wait(m[i]);wait(m[i+1]mode 4]);

................

release(m[i];release(m[(i+1)mod4]);

what is meaning of all these things?

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
hem chandra joshi asked Jun 11, 2017
374 views
A machine has a 32-bit architecture, with 1-word long instructions. It has 64 registers, each of which is 32 bits long.
2 votes
2 votes
0 answers
2
hem chandra joshi asked Jan 2, 2018
340 views
Let m[0]....m[4] be mutexes (binary semaphores) and P[0].......P[4] be processes. Suppose each process P[i] executes the following:wait (m[i]; wait (m(i+1) mode 4]); .......
0 votes
0 votes
2 answers
3
1 votes
1 votes
2 answers
4