View Single Post
Join Date: Feb 2007
Posts: 2
Reputation: sonu2die4 is an unknown quantity at this point 
Solved Threads: 0
sonu2die4 sonu2die4 is offline Offline
Newbie Poster

implement semaphore without the use of while or any if statement

 
0
  #1
Feb 4th, 2007
Hello,
I want to know how to implement semaphore without the use of while or any if statement
The Problem is
Thread A , B , C they all want to output the result at the same time
A wants ot print 'A'
B wants to print 'B'
C wants to print 'C'
the output must be 'ABC'. I do not know how to do this.Please help me with the same
Regards
Sonu
Last edited by sonu2die4; Feb 4th, 2007 at 10:12 pm.
Reply With Quote