From 3786526ea849a4b7daba6ca5609bf8c4445c894e Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 2 Jun 2003 21:22:02 +0000 Subject: * cygthread.h (cygthread::terminate_thread): Mark private. * cygthread.cc (cygthread::terminate_thread): Deallocate free_range thread stuff. --- winsup/cygwin/cygthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/cygthread.h') diff --git a/winsup/cygwin/cygthread.h b/winsup/cygwin/cygthread.h index 7af3f3183..57b50e20a 100644 --- a/winsup/cygwin/cygthread.h +++ b/winsup/cygwin/cygthread.h @@ -22,6 +22,7 @@ class cygthread static bool exiting; static DWORD WINAPI stub (VOID *); static DWORD WINAPI simplestub (VOID *); + void terminate_thread (); public: static const char * name (DWORD = 0); cygthread (LPTHREAD_START_ROUTINE, LPVOID, const char *); @@ -33,7 +34,6 @@ class cygthread void * operator new (size_t); static cygthread *freerange (); void exit_thread (); - void terminate_thread (); static void terminate (); bool SetThreadPriority (int nPriority) {return ::SetThreadPriority (h, nPriority);} void zap_h () -- cgit v1.2.3