in Operating System recategorized by
200 views
2 votes
2 votes

 Suppose we want to synchronize two concurrent processes P and Q

in Operating System recategorized by
200 views

1 Answer

2 votes
2 votes

so as given sequence 00110011..

p1                                                         p2

w=p(s)                                              y:p(t)

print 0                                               print 1

print 0                                                 print 1

x=v(t)                                                v(s)

 and this will be possible if initial   S=1, and T=0

so option B is the correct answer