Just when I think I got it figured out…
I have a process with four threads. Two of these threads create
semaphores using sem_init and the other two wait on these semaphores
using sem_timedwait. However only on sem_timedwait works, the other
falls through immediately! What am I missing here?
Thanks
Gregor
My Mistake, a programming error in calculating timeouts.
Sorry
Gregor
Gregor Brandt wrote:
Just when I think I got it figured out…
I have a process with four threads. Two of these threads create
semaphores using sem_init and the other two wait on these semaphores
using sem_timedwait. However only on sem_timedwait works, the other
falls through immediately! What am I missing here?
Thanks
Gregor