diff options
author | Christopher Faylor <me@cgf.cx> | 2004-12-05 21:29:37 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-12-05 21:29:37 +0000 |
commit | f181da27079a1f4838e2b4fc88bfab3a92b0a696 (patch) | |
tree | 9ada6d977ce88152e05a44d471d6d1d1cfa4c824 /winsup/cygwin/pinfo.h | |
parent | 54dd79bb44d2180ab769558deab274c70391cca7 (diff) | |
download | newlib-f181da27079a1f4838e2b4fc88bfab3a92b0a696.zip newlib-f181da27079a1f4838e2b4fc88bfab3a92b0a696.tar.gz newlib-f181da27079a1f4838e2b4fc88bfab3a92b0a696.tar.bz2 |
* cygthread.cc (cygthread::terminate_thread): Make public.
* pinfo.h (pinfo::wait_thread): New element.
* pinfo.cc (pinfo::wait): Store "handle" to started thread in pinfo.
* sigproc.cc (proc_terminate): Kill any threads waiting for a process pipe.
Diffstat (limited to 'winsup/cygwin/pinfo.h')
-rw-r--r-- | winsup/cygwin/pinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h index c249fe1..e460eed 100644 --- a/winsup/cygwin/pinfo.h +++ b/winsup/cygwin/pinfo.h @@ -137,6 +137,7 @@ public: CRITICAL_SECTION _lock; /* Handle associated with initial Windows pid which started it all. */ HANDLE pid_handle; + class cygthread *wait_thread; void init (pid_t, DWORD, HANDLE = NULL) __attribute__ ((regparm(3))); pinfo () {} pinfo (_pinfo *x): procinfo (x), hProcess (NULL), pid_handle (NULL) {} |