Nate Lawson 72699a2216 Set the signal handlers before creating the thread. This is so it inherits
the parent's signal mask.  Once daemon() forked, signals would be ignored
in the child thread.  While I'm here, check the return value of daemon().
This fixes termination in the daemon case (bug introduced in last commit).

Noticed by:	Frederik Lindberg
2005-10-20 05:12:20 +00:00
..
2005-01-18 20:02:45 +00:00
2005-07-28 19:41:52 +00:00
2005-08-06 16:52:30 +00:00
2005-02-13 22:25:33 +00:00
2005-03-24 01:26:40 +00:00
2005-05-20 12:44:04 +00:00
2005-09-21 05:33:46 +00:00
2005-02-09 18:07:17 +00:00
2005-05-04 08:57:12 +00:00
2005-09-01 22:45:25 +00:00
2005-07-15 15:32:52 +00:00
2005-02-09 12:17:52 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-08-11 15:23:23 +00:00
2005-02-13 22:25:33 +00:00
2005-03-11 14:20:09 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-11 11:47:22 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-03-03 06:38:00 +00:00
2005-06-14 12:26:36 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-06-14 12:26:36 +00:00
2005-09-19 09:29:59 +00:00
2005-02-13 22:25:33 +00:00
2005-06-14 12:26:36 +00:00
2005-01-18 20:02:45 +00:00
2005-10-17 15:28:25 +00:00
2005-01-18 20:02:45 +00:00
2005-09-22 11:18:30 +00:00
2005-02-13 22:25:33 +00:00
2005-06-03 15:25:13 +00:00
2005-04-09 14:59:10 +00:00
2005-04-09 14:59:10 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-15 09:27:00 +00:00
2005-01-18 20:02:45 +00:00
2005-06-09 09:28:35 +00:00
2005-02-13 23:45:54 +00:00
2005-01-18 20:02:45 +00:00
2005-10-17 16:51:06 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 10:49:29 +00:00
2005-07-11 04:14:42 +00:00
2005-01-18 20:02:45 +00:00
2004-12-21 12:44:20 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-08-22 09:59:13 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 23:45:54 +00:00
2005-10-17 20:47:44 +00:00