pthread_mutex_lock doesn't interrupt
Andy Koppe
andy.koppe@gmail.com
Tue Jul 13 05:59:00 GMT 2010
On 13 July 2010 01:08, James Cotton wrote:
> Sorry, I don't have access to the actual POSIX standard
It's at http://www.opengroup.org/onlinepubs/9699919799.
> but my
> interpretation is based on man pages:
>
> https://computing.llnl.gov/tutorials/pthreads/man/pthread_mutex_lock.txt
>
> And certainly nowhere have I see "pthread_mutex_lock blocks signals".
> The signal we are using is SIGUSR1. 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.
Makes sense.
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list