* child_info.h (class child_info_spawn): Drop unused member lock.

(CURR_CHILD_INFO_MAGIC): Update.
	* sigproc.cc (child_info_spawn::child_info_spawn): Drop setting lock.
This commit is contained in:
Corinna Vinschen 2012-12-05 10:37:17 +00:00
parent 25e21cbc32
commit 497826e97a
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2012-12-05 Corinna Vinschen <corinna@vinschen.de>
* child_info.h (class child_info_spawn): Drop unused member lock.
(CURR_CHILD_INFO_MAGIC): Update.
* sigproc.cc (child_info_spawn::child_info_spawn): Drop setting lock.
2012-12-04 Christopher Faylor <me.cygwin2012@cgf.cx>
* cygtls.h (_cygtls::will_wait_for_signal): Rename from

View File

@ -35,7 +35,7 @@ enum child_status
#define EXEC_MAGIC_SIZE sizeof(child_info)
/* Change this value if you get a message indicating that it is out-of-sync. */
#define CURR_CHILD_INFO_MAGIC 0xc6c53f76U
#define CURR_CHILD_INFO_MAGIC 0x744dfd6dU
#define NPROCS 256
@ -131,7 +131,6 @@ public:
class child_info_spawn: public child_info
{
muto *lock;
HANDLE hExeced;
HANDLE ev;
public:

View File

@ -890,7 +890,6 @@ child_info_spawn::child_info_spawn (child_info_types chtype, bool need_subproc_r
api_fatal ("couldn't create signalling event for exec, %E");
get_proc_lock (PROC_EXECING, 0);
lock = &sync_proc_subproc;
/* exit with lock held */
}
}