From 3c2c374555e45b55f0fdc6f1c37257bc631cf5ab Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 26 Aug 2000 01:36:20 +0000 Subject: * dcrt0.cc (dll_crt0_1): Move set_os_type. (_dll_crt0): To here. (cygwin_dll_init): And here. * external.cc (fillout_pinfo): Use more foolproof method for scanning for pids. * pinfo.cc (set_myself): Eliminate myself_identity.init. * sigproc.cc (wait_sig): Do it here instead to reduce the amount of time where there could potentially be two processes with the same pid. * spawn.cc (spawn_guts): Eliminate duplicate initialization. * include/sys/cygwin.h: Mark unused PID_* elements. --- winsup/cygwin/include/sys/cygwin.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/include/sys') diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 0cbd73686..bf3fee92c 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -81,14 +81,14 @@ enum PID_CYGPARENT = 0x0080, // Set if parent was a cygwin app. PID_SPLIT_HEAP = 0x0100, // Set if the heap has been split, // which means we can't fork again. - PID_CLEAR = 0x0200, // Flag that pid should be cleared from parent's + PID_UNUSED = 0x0200, // Flag that pid should be cleared from parent's // wait list - PID_SOCKETS_USED = 0x0400, // Set if process uses Winsock. + PID_UNUSED1 = 0x0400, // Set if process uses Winsock. PID_INITIALIZING = 0x0800, // Set until ready to receive signals. PID_USETTY = 0x1000, // Setting this enables or disables cygwin's // tty support. This is inherited by // all execed or forked processes. - PID_REPARENT = 0x2000, // child has execed + PID_UNUSED2 = 0x2000, // child has execed PID_EXECED = 0x4000, // redirect to original pid info block PID_NOREDIR = 0x8000 // don't redirect if execed }; -- cgit v1.2.3