Dbus calls interlock issue
Thiago Macieira
thiago at kde.org
Sun Feb 15 01:00:57 PST 2009
Kaustubh Atrawalkar wrote:
>In signal handler, i will create a pthread with a
>function and parameter as pid and the sig_handler returns.
No, that's not guaranteed to work.
Quoting Simon's email of Friday (which you apparently ignored):
>On Fri, 13 Feb 2009 at 17:50:32 +0530, Kaustubh Atrawalkar wrote:
>> I have a server running with SIGCHILD handler. In sig_child handler i
>> am...
>
>Let me just stop you there...
>
>The vast majority of functions cannot safely be called from a signal(2)
>handler.
> <http://www.google.com/search?q=signal%20handler%20safe%20functions>
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20090215/2dac11e9/attachment.pgp
More information about the dbus
mailing list