Re: Unix signals in GLib

On Fri, 2010-04-30 at 08:36 -0500, Stef Walter wrote:

> Remember that this doesn't work correctly in threaded apps, as we found
> in gnome-keyring-daemon. You have to do the strange
> signal-handling-thread-thing.

create a thread and sigwait in it in the hope that no other thread does
the same.

Mathieu Lacage <mathieu lacage sophia inria fr>
Tel: +33 4 9238 5056

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