Friday, December 30, 2011

(VU-Study-Corner) idea solution of cs 604 3rd assignment


Do

{

Wait (door);

Wait (visitor)

While (visitor==n);

// waiting room

Signal (visitor)

(Visitor ==0)

// sleep

If (Visitor>0)

// Ring the bell

Signal (door);

}

While (true);

--
 
"Luck is not in your hand but work is in your hand Luck never make your work but work can make your luck so always trust in yourself you can do everything"

HAYA
Dezzert Rose



--
Join us at facebook: https://www.facebook.com/VU.Study.Corner
 
Group Link: http://groups.google.com/group/VU-Study-Corner?hl=en
 
Group Rules: http://groups.google.com/group/VU-Study-Corner/web/group-rules
 
Unsubscribe: VU-Study-Corner+unsubscribe@googlegroups.com
 
Adult contents, Spamming, Immoral & Rudish talk, Cell number, Websites & Groups links specially in paper days are strictly prohibited and banned in group.

No comments:

Post a Comment