Quoting Attilio Fiandrotti:
> Basically, as mike suggested, allowing an an asynchronus signal handler 
> to manipulate mutexes is bad, so i've turned the signal handling routine 
> into a thread that sinchronously waits for signals to come.

There's already a thread that only waits for signals to be signalled
via the pthrea condition. So you could remove the mutex and condition
completely and only do the sigwait() in the existing thread :)

-- 
Best regards,
  Denis Oliver Kropp
 
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to