Christopher Faylor
4aeaedf961
* fork.cc (lock_signals): Move to sigproc.h.
(lock_pthread): Ditto.
(hold_everything): Ditto.
(frok::parent): Call myself.prefork() just before calling CreateProcess. Call
myself.postfork () on function exit.
* pinfo.cc (pinfo::pending_rd_proc_pipe): Define.
(pinfo::pending_wr_proc_pipe): Ditto.
(_pinfo::dup_proc_pipe): Delete.
(pinfo::wait): Move pipe creation into pinfo::prefork. Set pipe variables from
pending_*.
(_pinfo::sync_proc_pipe): Delete.
(_pinfo::proc_pipe_owner): Ditto.
(pinfo::prefork): Define new function.
(pinfo::postfork): Ditto.
(pinfo::postexec): Ditto.
(_pinfo::alert_parent): Remove obsolete call to sync_proc_pipe.
(_pinfo::dup_proc_pipe): Delete declaration.
(_pinfo::sync_proc_pipe): Ditto.
(pinfo::pending_rd_proc_pipe): Declare.
(pinfo::pending_wr_proc_pipe): Ditto.
(pinfo::prefork): Declare new function.
(pinfo::postfork): Ditto.
(pinfo::postexec): Ditto.
(pinfo::wr_proc_pipe): Define new wrapper function.
* sigproc.h: Include "sync.h". Move locking functions from fork to here.
* spawn.cc (child_info_spawn::worker): Delete now-unneeded requirement to
record orig_wr_proc_pipe. Call hold_everything prior to doing anything. Call
myself.prefork() if spawning. Replace wr_proc_pipe synchronization with call
to myself.postexec(). Call myself.postfork() if not execing.
* sync.h: Replace #ifdef wrapper with "#pragma once".
2012-03-16 20:20:29 +00:00
..
2011-12-17 23:39:47 +00:00
2012-03-13 09:13:02 +00:00
2011-12-17 23:39:47 +00:00
2011-12-17 23:39:47 +00:00
2012-02-13 13:12:37 +00:00
2012-02-25 10:48:35 +00:00
2009-01-21 17:14:39 +00:00
2011-04-29 10:38:12 +00:00
2011-11-14 01:29:49 +00:00
2012-02-16 11:02:05 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2012-03-16 20:20:29 +00:00
2009-09-22 02:49:15 +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
2012-01-01 16:57:25 +00:00
2011-11-24 02:17:55 +00:00
2012-02-13 13:12:37 +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
2011-11-29 15:34:49 +00:00
2012-02-14 11:27:43 +00:00
2012-03-05 11:50:25 +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-12-17 23:39:47 +00:00
2011-12-13 04:11:48 +00:00
2012-02-28 09:44:14 +00:00
2011-08-03 16:40:48 +00:00
2009-07-07 20:12:44 +00:00
2012-02-22 01:58:24 +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
2012-03-05 12:09:22 +00:00
2011-12-09 06:57:21 +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
2012-02-02 13:58:20 +00:00
2011-09-01 08:17:07 +00:00
2012-03-05 10:27:44 +00:00
2012-03-04 13:50:12 +00:00
2011-12-09 17:46:12 +00:00
2012-03-10 17:51:33 +00:00
2012-01-22 07:27:57 +00:00
2012-02-26 15:47:43 +00:00
2011-12-03 21:43:27 +00:00
2012-02-12 22:43:33 +00:00
2012-02-12 22:43:33 +00:00
2012-02-07 17:15:07 +00:00
2012-02-26 15:47:43 +00:00
2012-02-01 17:38:07 +00:00
2011-06-06 05:02:13 +00:00
2011-11-14 01:29:49 +00:00
2012-03-10 17:51:33 +00:00
2012-02-16 11:02:05 +00:00
2012-02-09 15:23:17 +00:00
2012-01-22 21:43:25 +00:00
2012-03-08 09:36:11 +00:00
2012-02-14 11:27:43 +00:00
2011-12-22 11:02:36 +00:00
2011-12-03 21:43:27 +00:00
2009-01-03 05:12:22 +00:00
2011-12-22 11:02:36 +00:00
2011-12-22 12:25:10 +00:00
2011-12-03 21:43:27 +00:00
2011-12-03 21:43:27 +00:00
2011-12-03 21:43:27 +00:00
2011-11-14 01:29:49 +00:00
2011-11-14 01:37:02 +00:00
2012-02-02 13:58:20 +00:00
2012-03-08 09:36:11 +00:00
2012-03-08 09:36:11 +00:00
2012-03-08 09:36:11 +00:00
2012-03-03 21:35:30 +00:00
2012-03-08 09:36:11 +00:00
2011-11-14 01:29:49 +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
2012-03-12 21:29:36 +00:00
2012-03-12 21:29:36 +00:00
2012-03-02 17:20:11 +00:00
2012-03-16 20:20:29 +00:00
2011-12-16 16:32:25 +00:00
2008-12-13 21:05:31 +00:00
2008-12-31 21:33:34 +00:00
2012-03-07 10:12:28 +00:00
2012-02-26 14:01:32 +00:00
2010-08-30 01:57:37 +00:00
2012-02-03 12:26:08 +00:00
2011-08-09 12:00:27 +00:00
2011-08-03 16:40:48 +00:00
2012-03-13 17:15:28 +00:00
2009-07-12 21:26:40 +00:00
2010-02-02 01:54:55 +00:00
2009-07-12 21:26:40 +00:00
2012-03-05 12:09:22 +00:00
2011-12-13 04:11:48 +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
2012-02-13 13:12:37 +00:00
2009-02-16 20:22:38 +00:00
2009-01-03 05:12:22 +00:00
2012-02-15 21:34:06 +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-12-22 11:02:36 +00:00
2012-02-17 14:17:12 +00:00
2012-02-16 11:02:05 +00:00
2009-01-21 17:14:39 +00:00
2012-03-08 16:02:44 +00:00
2011-12-13 17:46:08 +00:00
2010-10-02 19:03:44 +00:00
2010-10-02 19:03:44 +00:00
2012-02-13 13:12:37 +00:00
2012-02-17 14:26:18 +00:00
2011-12-03 21:43:27 +00:00
2012-02-09 01:20:55 +00:00
2012-03-08 14:56:18 +00:00
2012-02-16 11:02:05 +00:00
2009-12-18 10:11:56 +00:00
2012-03-16 20:20:29 +00:00
2012-03-16 20:20:29 +00:00
2012-02-14 11:27:43 +00:00
2011-08-23 14:05:04 +00:00
2011-06-06 05:02:13 +00:00
2012-02-22 01:58:24 +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
2012-02-10 20:56:22 +00:00
2011-04-23 13:15:46 +00:00
2011-12-03 21:43:27 +00:00
2011-07-06 18:35:44 +00:00
2011-12-03 21:43:27 +00:00
2011-12-22 11:02:36 +00:00
2011-12-17 23:39:47 +00:00
2011-12-03 21:43:27 +00:00
2011-10-15 16:31:57 +00:00
2012-03-08 09:36:11 +00:00
2012-01-22 06:45:08 +00:00
2009-01-21 17:14:39 +00:00
2011-04-04 09:04:00 +00:00
2012-02-14 11:27:43 +00:00
2012-02-21 17:03:51 +00:00
2009-12-18 20:32:04 +00:00
2011-12-17 23:39:47 +00:00
2012-02-12 22:43:33 +00:00
2012-03-16 20:20:29 +00:00
2012-02-15 15:33:56 +00:00
2012-03-16 20:20:29 +00:00
2011-02-11 18:00:55 +00:00
2010-03-15 21:29:15 +00:00
2011-12-08 06:17:49 +00:00
2012-03-08 09:36:11 +00:00
2011-01-19 09:41:54 +00:00
2011-05-04 22:12:15 +00:00
2011-11-29 17:26:57 +00:00
2012-03-16 20:20:29 +00:00
2012-02-22 01:58:24 +00:00
2012-03-08 09:36:11 +00:00
2011-05-11 08:20:17 +00:00
2012-02-28 14:03:03 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2012-02-14 09:45:21 +00:00
2012-02-13 13:12:37 +00:00
2012-02-17 17:34:01 +00:00
2011-12-13 11:38:12 +00:00
2010-12-12 05:48:29 +00:00
2011-08-03 16:40:48 +00:00
2010-06-21 19:55:12 +00:00
2011-12-30 20:22:28 +00:00
2011-12-09 16:02:56 +00:00
2012-02-14 11:27:43 +00:00
2011-12-17 07:01:21 +00:00
2010-02-04 12:35:49 +00:00
2009-07-07 21:41:43 +00:00
2012-02-21 17:03:51 +00:00
2012-02-21 17:03:51 +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
2011-04-19 10:15:09 +00:00
2011-12-22 11:02:36 +00:00
2012-03-04 13:19:21 +00:00
2011-12-21 17:19:48 +00:00
2011-12-19 12:50:35 +00:00