Re: pthread_mutex_lock doesn't interrupt

2010-07-12 Thread James Cotton
1. I don't see why the signal would be deferred since there are no signals being blocked. Possibly the first signal gets caught and another one comes while in the signal handler (where usual that signal should then get blocked) and is disrupting the processing. James >On 12 July 2010 17

pthread_mutex_lock doesn't interrupt

2010-07-12 Thread James Cotton
Hello, I've been trying to get the FreeRTOS Posix simulator to run on Cygwin and have run into a few bugs in the signal handling/pthread libraries and have isolated test cases I believe when pthread_mutex_lock receives an interrupt it should run it then resume trying to get a lock, the signal hand

Sending SIGUSR1 to thread in nanosleep causes segfault

2010-07-12 Thread James Cotton
Hello, I've been trying to get the FreeRTOS Posix simulator to run on Cygwin and have run into a few bugs in the signal handling/pthread libraries and have isolated test cases Essentially sending a SIGUSR1 to a pthread causes a segfault if that thread is in sleep/nanosleep/select. This behavior c