Re: [gtk-list] Re: Handling OS signals?



Joshua Richardson wrote:

> Posix semaphores can be used with aync signals.  The sem_post operation is

Solaris man page states it's only MT-safe. And interruptible by a signal.

> async safe on many implementations.  If on yours, then you could sleep

Besides, I'd hate to have unportable program because of threads which
I only need as a kludge. But it is an interesting solution. Thanks.

-- 
 .-.   .-.    Life is a sexually transmitted disease.
(_  \ /  _)
     |        dave@srce.hr
     |        dave@fly.cc.fer.hr



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]