Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C (http://www.programmingforums.org/forum60.html)
-   -   Semaphore implementation without the use of While or IF (http://www.programmingforums.org/showthread.php?t=12507)

sonu2die4 Feb 4th, 2007 9:32 PM

Semaphore implementation without the use of While or IF
 
Hello,
I want to know how to implement semaphor without the use of while or any if statement :confused:
Regrads
Sonu

DaWei Feb 4th, 2007 10:57 PM

If you don't test a variable, how do you know its state?

Arevos Feb 5th, 2007 7:03 AM

switch statement? :p

Jimbo Feb 5th, 2007 3:37 PM

I'd recommend the OP read his other thread

jim mcnamara Feb 6th, 2007 4:04 PM

The question has no meaning....


All times are GMT -5. The time now is 1:48 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC