Christopher Faylor
b79b15e9e3
* child_info.h (cchildren): New struct.
...
(child_info_spawn::nchildren): Rename from nprocs.
(child_info_spawn::children): Change type to cchildren for more bookkeeping
possibilities.
(child_info_spawn::child_info_spawn): Clear nchildren.
(child_info_spawn::record_children): Declare new function.
(child_info_spawn::reattach_children): Ditto.
* dcrt0.cc (child_info_spawn::handle_spawn): Call reattach_children to gather
list of processes we are potentially waiting for.
* pinfo.h (pinfo::pinfo): Make sure that rd_proc_pipe is always cleared.
(pinfo::reattach): New function.
* sigproc.cc: Move pinfo.h earlier so that it can be used in sigproc.h.
(get_proc_lock): Don't bother with a lock during DLL initialization.
(proc_subproc): Handle PROC_REATTACH_CHILD.
(proc_terminate): Orphan children only when we are not an execed process or
when the pid is about to be occupied by a non-cygwin process.
(child_info_spawn::record_children): Define new function.
(child_info_spawn::reattach_children): Ditto.
* sigproc.h (procstuff): Define PROC_REATTACH_CHILD and renumber other
elements.
* spawn.cc (spawn_guts): Record any to-be-waited-for subprocesses if about to
exec a cygwin process.
* sigproc.cc (sig_send): Fix harmless transposition of fifth and six arguments
to DuplicateHandle().
(child_info::child_info): Ditto.
* globals.cc (hExeced): Make NO_COPY.
2011-10-26 19:42:39 +00:00
..
2011-02-14 09:42:19 +00:00
2011-10-11 23:20:38 +00:00
2011-02-15 15:56:03 +00:00
2011-05-12 13:44:54 +00:00
2010-02-14 21:28:44 +00:00
2009-01-21 17:14:39 +00:00
2006-05-24 16:59:03 +00:00
2011-04-29 10:38:12 +00:00
2006-03-01 20:20:22 +00:00
2011-07-04 15:25:36 +00:00
2011-08-16 14:44:26 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2011-10-26 19:42:39 +00:00
2009-09-22 02:49:15 +00:00
2006-01-16 19:52:21 +00:00
2007-01-03 11:14:53 +00:00
2008-01-01 18:51:23 +00:00
2009-09-22 02:49:15 +00:00
2010-01-01 19:28:15 +00:00
2011-01-03 01:53:19 +00:00
2011-10-26 19:42:39 +00:00
2009-01-21 17:14:39 +00:00
2011-02-07 16:22:02 +00:00
2011-02-15 15:56:03 +00:00
2011-03-17 08:40:25 +00:00
2011-06-06 05:02:13 +00:00
2009-08-13 07:35:50 +00:00
2011-10-15 22:37:30 +00:00
2009-08-01 19:52:46 +00:00
2011-06-06 05:02:13 +00:00
2011-06-14 21:48:43 +00:00
2008-07-11 10:00:36 +00:00
2007-02-08 11:35:52 +00:00
2009-10-31 13:24:06 +00:00
2008-11-26 10:18:10 +00:00
2008-11-26 10:18:10 +00:00
2011-04-04 09:04:00 +00:00
2008-11-26 10:18:10 +00:00
2008-11-26 10:18:10 +00:00
2011-09-21 04:33:57 +00:00
2011-10-20 10:59:01 +00:00
2011-08-03 16:40:48 +00:00
2011-08-03 16:40:48 +00:00
2009-07-07 20:12:44 +00:00
2008-02-15 17:53:11 +00:00
2011-10-11 23:20:38 +00:00
2011-03-18 18:16:37 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-10-26 19:42:39 +00:00
2011-05-05 22:30:53 +00:00
2010-09-20 20:25:50 +00:00
2011-10-20 14:02:54 +00:00
2011-10-20 14:02:54 +00:00
2011-10-20 14:02:54 +00:00
2011-06-06 05:02:13 +00:00
2011-09-01 08:17:07 +00:00
2011-08-03 17:58:59 +00:00
2011-06-06 05:02:13 +00:00
2008-02-15 17:53:11 +00:00
2011-10-22 16:26:30 +00:00
2011-10-22 16:26:30 +00:00
2011-08-21 18:45:07 +00:00
2008-04-07 16:15:45 +00:00
2011-06-15 17:36:10 +00:00
2011-02-09 15:40:37 +00:00
2011-08-03 16:40:48 +00:00
2011-01-20 11:09:21 +00:00
2011-10-05 12:27:37 +00:00
2011-04-30 16:34:48 +00:00
2011-06-06 05:02:13 +00:00
2011-10-15 22:37:30 +00:00
2011-10-22 16:26:30 +00:00
2011-10-21 17:43:00 +00:00
2011-07-21 20:21:46 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-06-06 05:02:13 +00:00
2011-07-31 12:37:52 +00:00
2011-04-04 12:23:36 +00:00
2009-01-03 05:12:22 +00:00
2011-10-20 14:02:54 +00:00
2011-10-15 19:13:57 +00:00
2011-06-12 20:15:26 +00:00
2011-06-06 05:02:13 +00:00
2011-06-12 20:15:26 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-10-15 22:37:30 +00:00
2011-10-22 16:26:30 +00:00
2011-10-23 19:01:47 +00:00
2011-10-15 22:37:30 +00:00
2011-05-28 18:17:09 +00:00
2011-07-21 20:21:46 +00:00
2009-07-24 20:54:33 +00:00
2011-10-22 16:26:30 +00:00
2011-10-22 16:26:30 +00:00
2011-08-31 16:35:19 +00:00
2011-07-04 15:25:36 +00:00
2010-08-01 19:10:52 +00:00
2006-03-01 20:20:22 +00:00
2008-12-13 21:05:31 +00:00
2008-12-31 21:33:34 +00:00
2009-01-03 05:12:22 +00:00
2011-10-26 19:42:39 +00:00
2010-08-30 01:57:37 +00:00
2011-06-06 05:02:13 +00:00
2011-08-09 12:00:27 +00:00
2011-08-03 16:40:48 +00:00
2011-10-25 16:35:58 +00:00
2009-07-12 21:26:40 +00:00
2010-02-02 01:54:55 +00:00
2006-05-28 21:39:37 +00:00
2009-07-12 21:26:40 +00:00
2011-08-18 15:59:16 +00:00
2011-10-20 14:02:54 +00:00
2010-02-26 09:36:21 +00:00
2011-04-04 12:23:36 +00:00
2010-02-25 16:55:02 +00:00
2011-09-01 19:19:29 +00:00
2009-08-04 04:20:36 +00:00
2011-04-18 19:07:18 +00:00
2008-04-07 18:45:59 +00:00
2011-05-02 19:14:39 +00:00
2009-02-16 20:22:38 +00:00
2005-12-10 17:09:58 +00:00
2009-01-03 05:12:22 +00:00
2011-08-13 10:28:15 +00:00
2011-08-13 10:28:15 +00:00
2009-01-09 05:18:02 +00:00
2011-02-11 18:00:55 +00:00
2011-02-11 18:00:55 +00:00
2010-07-19 18:22:40 +00:00
2010-04-10 05:47:54 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-10-21 17:43:00 +00:00
2011-10-21 08:29:19 +00:00
2009-01-21 17:14:39 +00:00
2008-07-15 11:42:45 +00:00
2011-10-05 06:18:16 +00:00
2010-08-28 08:51:21 +00:00
2010-10-02 19:03:44 +00:00
2010-10-02 19:03:44 +00:00
2011-06-06 05:02:13 +00:00
2011-08-27 20:01:29 +00:00
2011-08-09 09:14:28 +00:00
2011-03-29 10:42:11 +00:00
2011-10-23 17:19:17 +00:00
2011-10-22 16:26:30 +00:00
2009-12-18 10:11:56 +00:00
2011-10-26 19:42:39 +00:00
2011-10-26 19:42:39 +00:00
2011-10-23 19:01:47 +00:00
2011-08-23 14:05:04 +00:00
2011-06-06 05:02:13 +00:00
2011-08-03 19:17:02 +00:00
2010-08-30 01:57:37 +00:00
2011-06-06 05:02:13 +00:00
2011-03-29 10:32:40 +00:00
2008-12-20 09:35:18 +00:00
2008-09-11 04:34:24 +00:00
2011-06-06 05:02:13 +00:00
2011-04-23 13:15:46 +00:00
2011-08-07 19:49:08 +00:00
2011-07-06 18:35:44 +00:00
2011-04-29 10:38:12 +00:00
2011-10-15 16:31:57 +00:00
2011-10-15 16:31:57 +00:00
2011-07-26 13:30:41 +00:00
2011-10-15 16:31:57 +00:00
2008-03-13 15:18:10 +00:00
2011-10-20 14:02:54 +00:00
2011-05-03 15:58:52 +00:00
2009-01-21 17:14:39 +00:00
2011-04-04 09:04:00 +00:00
2011-08-09 12:00:27 +00:00
2011-10-24 09:19:58 +00:00
2009-12-18 20:32:04 +00:00
2011-08-03 19:17:02 +00:00
2011-10-26 19:42:39 +00:00
2011-10-26 19:42:39 +00:00
2011-06-06 05:02:13 +00:00
2006-07-05 16:06:50 +00:00
2011-10-26 19:42:39 +00:00
2011-02-11 18:00:55 +00:00
2010-03-15 21:29:15 +00:00
2011-07-04 15:25:36 +00:00
2011-06-06 05:02:13 +00:00
2011-01-19 09:41:54 +00:00
2011-05-04 22:12:15 +00:00
2011-04-21 00:53:55 +00:00
2010-03-13 19:34:35 +00:00
2011-10-24 14:02:32 +00:00
2011-07-21 09:39:22 +00:00
2011-05-11 08:20:17 +00:00
2011-10-11 23:20:38 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2011-08-24 15:18:17 +00:00
2011-08-24 15:18:17 +00:00
2011-05-17 17:08:10 +00:00
2011-08-03 16:40:48 +00:00
2010-12-12 05:48:29 +00:00
2008-03-12 12:41:50 +00:00
2011-08-03 16:40:48 +00:00
2010-06-21 19:55:12 +00:00
2011-10-20 14:02:54 +00:00
2011-10-15 22:37:30 +00:00
2011-06-06 05:02:13 +00:00
2008-04-07 18:45:59 +00:00
2011-08-03 16:40:48 +00:00
2010-02-04 12:35:49 +00:00
2009-07-07 21:41:43 +00:00
2011-10-15 16:31:57 +00:00
2011-10-15 16:31:57 +00:00
2011-05-01 14:35:12 +00:00
2009-08-01 19:52:46 +00:00
2011-01-20 11:09:21 +00:00
2006-07-17 19:30:30 +00:00
2011-04-19 10:15:09 +00:00
2011-10-25 16:35:58 +00:00
2011-03-16 21:10:51 +00:00