summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/cygthread.h')
-rw-r--r--winsup/cygwin/cygthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygthread.h b/winsup/cygwin/cygthread.h
index e9dba0d5c..7f3869220 100644
--- a/winsup/cygwin/cygthread.h
+++ b/winsup/cygwin/cygthread.h
@@ -79,6 +79,7 @@ class cygthread
void * operator new (size_t);
static cygthread *freerange ();
static void terminate ();
+ HANDLE thread_handle () const {return h;}
bool SetThreadPriority (int nPriority) {return ::SetThreadPriority (h, nPriority);}
void zap_h ()
{