newlib-cygwin/winsup
Christopher Faylor 267e201dae Change process_lock to lock_process throughout. Change all calls to new
cygthread to handle extra argument, throughout.
* cygthread.h (cygthread::callproc): Declare new method.
(cygthread::cygthread): Add optional length argument to allow copying arguments
to executing thread.
* cygthread.cc (cygthread::callproc): Define new method.
(cygthread::stub): Use callfunc to invoke thread func to allow potentially
allocating stack memory which will be returned.
(cygthread::simplestub): Ditto.
(cygthread::cygthread): Accept arglen argument.  Reset ev here prior to
activating thread.  Wait for ev after activating thread if we're copying
contents to the thread.  Wait until the end before setting h, to allow thread
synchronization.
(cygthread::release): Don't reset ev here.  Rely on that happening the next
time the thread is activated.
* pinfo.h (commune_process): Rename declaration from _pinfo::commune_process.
* pinfo.cc (commune_process): Ditto for definition.  Modify slightly to allow
running as a separate cygthread.
* sigproc.cc (child_info::sync): Always wait for both subproc_ready and any
hProcess if we have a cygwin parent.
(talktome): Change argument to be a pointer to siginfo_t.  Contiguously
allocate whole siginfo_t structure + any needed extra for eventual passing to
commune_process thread.
(wait_sig): Accommodate change in talktome argument.
* pipe.cc (fhandler_pipe::fixup_after_exec): Remove debugging.
2005-10-17 23:27:00 +00:00
..
cygserver * cygserver.cc (main): Call wincap.init() earlier to avoid a NULL dereference. 2005-08-08 19:46:48 +00:00
cygwin Change process_lock to lock_process throughout. Change all calls to new 2005-10-17 23:27:00 +00:00
doc 2005-10-02 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2005-10-02 20:56:53 +00:00
mingw * include/limits.h (SSIZE_MAX): Define. 2005-10-15 22:35:55 +00:00
subauth
testsuite revert erroneous checkin 2005-10-11 18:39:02 +00:00
utils revert erroneous checkin 2005-10-11 18:39:02 +00:00
w32api * include/winbase.h (GetProcessId): Remove duplicate declaration. 2005-10-12 09:40:29 +00:00
CYGWIN_LICENSE
ChangeLog * Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing. 2005-10-11 18:17:59 +00:00
Makefile.common * Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing. 2005-10-11 18:17:59 +00:00
Makefile.in * Makefile.in: Make cygserver depending on cygwin. 2003-11-23 09:02:26 +00:00
configure * configure.in: Make --use-server the default. 2003-11-20 19:31:52 +00:00
configure.in * configure.in: Make --use-server the default. 2003-11-20 19:31:52 +00:00