RE: Linux signals and GLIB g_io_channel usage

2006-11-13 Thread James Scott Jr
On Mon, 2006-11-13 at 02:15 -0500, Freddie Unpenstein wrote: On Mon 10/23, James Scott Jr [EMAIL PROTECTED] wrote: I am about to write the socket module of a program that follows the gnu standard structure for a daemon. I am using glib wherever possible and have a question concerning the

Re: Linux signals and GLIB g_io_channel usage

2006-11-13 Thread C.R. Kirkwood-Watts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Scott Jr wrote: On Mon, 2006-11-13 at 02:15 -0500, Freddie Unpenstein wrote: On Mon 10/23, James Scott Jr [EMAIL PROTECTED] wrote: I am about to write the socket module of a program that follows the gnu standard structure for a daemon. I

Re: Linux signals and GLIB g_io_channel usage

2006-11-13 Thread James Scott Jr
On Mon, 2006-11-13 at 17:02 -0800, C.R. Kirkwood-Watts wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Scott Jr wrote: On Mon, 2006-11-13 at 02:15 -0500, Freddie Unpenstein wrote: On Mon 10/23, James Scott Jr [EMAIL PROTECTED] wrote: I am about to write the socket

RE: Linux signals and GLIB g_io_channel usage

2006-11-12 Thread Freddie Unpenstein
On Mon 10/23, James Scott Jr [EMAIL PROTECTED] wrote: I am about to write the socket module of a program that follows the gnu standard structure for a daemon. I am using glib wherever possible and have a question concerning the use of linux signals. Basically, I have blocked all signals on

Linux signals and GLIB g_io_channel usage

2006-10-23 Thread James Scott Jr
Folks, I am about to write the socket module of a program that follows the gnu standard structure for a daemon. I am using glib wherever possible and have a question concerning the use of linux signals. Basically, I have blocked all signals on all threads according to the standard daemon model

Re: Linux signals and GLIB g_io_channel usage

2006-10-23 Thread Tristan Van Berkom
James Scott Jr wrote: Folks, Hi James, in a phrase - I've done it and it works fine. some places might call for special attention though - for example - if you were to call g_spawn_sync() or g_child_watch(), you may want to have leave SIGCHLD available. Cheers, -Tristan

Re: Linux signals and GLIB g_io_channel usage

2006-10-23 Thread James Scott Jr
On Mon, 2006-10-23 at 13:42 -0400, Tristan Van Berkom wrote: James Scott Jr wrote: Folks, Hi James, in a phrase - I've done it and it works fine. some places might call for special attention though - for example - if you were to call g_spawn_sync() or g_child_watch(), you may