* cygtls.h (struct _cygtls::thread_handle): Remove/revert.

* sigproc.h (struct sipacket::thread_handle): Put thread_handle here.
* sigproc.cc (sigproc_terminate): Move setting of thread_handle...
(sig_send): ...to here.  Put it in packet being sent.  Only close pack.wakeup
when we're waiting for completion.
(wait_sig): Use thread_handle directly from received packet.
This commit is contained in:
Christopher Faylor
2005-09-23 15:18:22 +00:00
parent e7a76793ad
commit 255e7e559e
4 changed files with 23 additions and 17 deletions

View File

@@ -184,7 +184,6 @@ struct _cygtls
class cygthread *_ctinfo;
san andreas;
waitq wq;
HANDLE thread_handle;
struct _cygtls *prev, *next;
__stack_t *stackptr;
int sig;