http://bugzilla.novell.com/show_bug.cgi?id=497624 User keesjan@cas.et.tudelft.nl added comment http://bugzilla.novell.com/show_bug.cgi?id=497624#c1 --- Comment #1 from Kees-Jan van der Kolk <keesjan@cas.et.tudelft.nl> 2009-04-23 09:45:54 MDT --- In MySemaphore.h, there are some loops around the sem_wait and sem_post calls. These are there to handle the case where a signal interrupts these calls (an error with errno=EINTR is generated then). When such a situation occurs, the calls are simply retried. Some comments in MySemaphore.h are probably not too precise about this :-) So hopefully this clears it up a little, if there is any confusion. Also, I noted that removing the last "semaphore.post()" call from the main() function makes the problem disappear, which is strange because this post() happens on a separate semaphore which does not have any waiting threads. Anyway, this is a weird problem... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.