Re: pthread issue.

From: George Anzinger (george@pioneer.net)
Date: Mon May 22 2000 - 18:50:27 EST


Kip Matthew Macy wrote:
>
> Read the man page again:
>
> <snip>
>
> ASYNC-SIGNAL SAFETY
> The mutex functions are not async-signal safe. What this
> means is that they should not be called from a signal han­
> dler. In particular, calling pthread_mutex_lock or
> pthread_mutex_unlock from a signal handler may deadlock
> the calling thread.
>
> </snip>
<snip>

Gosh, is this common or just a Linux'ism? Seems like a real drag and
not to easy to get around.

George

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:22 EST