Hi!
 
I try to use rt_sem_wait_if (rtai 2.07)
 
What is the value returned when the sem's count is 0 ?
The returned value seems to be 0 (the same value as when the count is not 0).
 
How to tell one thing from the other?
 
trysemwait returns -AGAIN when the count is 0.
Why rt_sem_wait_if does not adopt this behavior?
 
Help appreciated.
 
Thanks
 
 
 
Charles Andr�
Laboratoire I3S
Les Algorithmes B�t Euclide B
2000 Rue des Lucioles
BP 121
06903 Sophia Antipolis C�dex
T�l (33) 4 92 94 27 40
Fax (33) 4 92 94 28 96

Reply via email to