* 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.
This commit is contained in:
@@ -833,7 +833,7 @@ pinfo::wait ()
|
||||
sigproc_printf ("tracking thread creation failed for pid %d", (*this)->pid);
|
||||
else
|
||||
{
|
||||
h->zap_h ();
|
||||
wait_thread = h;
|
||||
sigproc_printf ("created tracking thread for pid %d, winpid %p, rd_pipe %p",
|
||||
(*this)->pid, (*this)->dwProcessId, rd_proc_pipe);
|
||||
}
|
||||
|
Reference in New Issue
Block a user