]> sourceware.org Git - newlib-cygwin.git/commit
* cygthread.cc (cygthread::stub): Accept flag to pass info structure to thread
authorChristopher Faylor <me@cgf.cx>
Tue, 6 Aug 2002 05:08:55 +0000 (05:08 +0000)
committerChristopher Faylor <me@cgf.cx>
Tue, 6 Aug 2002 05:08:55 +0000 (05:08 +0000)
commit1524ae42cf8595fd9a31084382ade0ff17172626
treeede26f12347598e90e3f481198a5f35b6fe0c647
parentffebb4fe0c3e1c3ca5ab14ec7737da054e2dc096
* cygthread.cc (cygthread::stub): Accept flag to pass info structure to thread
function.
(cygthread::operator new): Add defense debugging output.
(cygthread::cygthread): Add debugging output.  Set name after thread has been
awakened to avoid a race.
(cygthread::exit_thread): Use handle operator rather than using ev directly.
(cygthread::exit_thread): Reorganize to provide debugging.  Set __name to NULL.
* cygthread.h (cygself): Define.
* fhandler_tty.cc (fhandler_tty_master::init): Use cygself as argument so that
invoked thread can access its own info.
(process_output): Derive cygthread info of thread from thread argument.
* sigproc.cc (sigproc_init): Use cygself as argument so that invoked thread can
access its own info.
(wait_sig): Derive cygthread info of thread from thread argument.
winsup/cygwin/ChangeLog
winsup/cygwin/cygthread.cc
winsup/cygwin/cygthread.h
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/sigproc.cc
This page took 0.031942 seconds and 5 git commands to generate.