4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-23 09:09:35 +08:00
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
2011-12-17 23:39:47 +00:00
2011-12-17 23:39:47 +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
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +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
2012-01-01 16:57:25 +00:00
2009-01-21 17:14:39 +00:00
2011-02-15 15:56:03 +00:00
2011-06-06 05:02:13 +00:00
2009-10-31 13:24:06 +00:00
2011-12-17 23:39:47 +00:00
2009-07-07 20:12:44 +00:00
2012-02-22 01:58:24 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-12-09 06:57:21 +00:00
2011-06-06 05:02:13 +00:00
2011-11-14 01:37:02 +00:00
2010-08-30 01:57:37 +00:00
2011-04-04 12:23:36 +00:00
2011-09-01 19:19:29 +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
2012-02-16 11:02:05 +00:00
2009-01-21 17:14:39 +00:00
2012-02-16 11:02:05 +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-12-17 23:39:47 +00:00
2009-01-21 17:14:39 +00:00
2011-12-17 23:39:47 +00:00
2012-02-12 22:43:33 +00:00
2011-05-04 22:12:15 +00:00
2011-11-29 17:26:57 +00:00
2012-02-22 01:58:24 +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
2010-06-21 19:55:12 +00:00
2011-12-30 20:22:28 +00:00
2009-08-01 19:52:46 +00:00
2011-01-20 11:09:21 +00:00
2012-03-04 13:19:21 +00:00