diff options
author | Christopher Faylor <me@cgf.cx> | 2000-08-26 01:36:20 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-08-26 01:36:20 +0000 |
commit | 3c2c374555e45b55f0fdc6f1c37257bc631cf5ab (patch) | |
tree | 73f97864758c82b21151cb456ce9666cab91da2a /winsup/cygwin/include/sys | |
parent | 14d3488d1f45a6ac4fffd4e3ab891f5b9d2ffac9 (diff) | |
download | newlib-3c2c374555e45b55f0fdc6f1c37257bc631cf5ab.zip newlib-3c2c374555e45b55f0fdc6f1c37257bc631cf5ab.tar.gz newlib-3c2c374555e45b55f0fdc6f1c37257bc631cf5ab.tar.bz2 |
* 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.
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/cygwin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 0cbd736..bf3fee9 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 }; |