* 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:
@@ -22,8 +22,8 @@ class cygthread
|
||||
VOID *arg;
|
||||
bool is_freerange;
|
||||
static bool exiting;
|
||||
void terminate_thread ();
|
||||
public:
|
||||
void terminate_thread ();
|
||||
static DWORD WINAPI stub (VOID *);
|
||||
static DWORD WINAPI simplestub (VOID *);
|
||||
static DWORD main_thread_id;
|
||||
|
Reference in New Issue
Block a user