Hi List,

FYI: just commited to cvs.


On Monday 13 October 2003 00:00, Alexander Malysh wrote:
> Hi List,
>
> attached patch corrects signal handling routine for bearerbox. We may not
>  call mutex_[lock|unlock] or any not asynchron signal safe functions within
> a signal handler. Here is a quote from 'man pthread_mutex_lock':
>
> ASYNC-SIGNAL SAFETY
>        The  mutex functions are not async-signal safe. What this means is
>       that they should not be called from a signal handler. In particular,
>       calling pthread_mutex_lock or pthread_mutex_unlock from a signal  handler
>        may deadlock the calling thread.
>
> Generally for signal handler apply: make as little as possible within
> signal handler function.
>
> Comments and votes are very welcome...
>

-- 
Best regards / Mit besten Gr��en aus D�sseldorf

Dipl.-Ing.
Alexander Malysh
___________________________________________

Centrium GmbH
Vogelsanger Weg 80
40470 D�sseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: a.malysh at centrium.de
web: www.centrium.de
msn: olek2002 at hotmail.com
icq: 98063111
___________________________________________

Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

Attachment: pgp00000.pgp
Description: signature

Reply via email to