Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-12-21 12:38:25 +0300
committerCorinna Vinschen <corinna@vinschen.de>2009-12-21 12:38:25 +0300
commit1b71ce005c0c57d94d74d8eb5b889d0676112f5d (patch)
treea1a2e75841061de20ec67d5c0e39c4ab7b5a34ac /winsup/cygwin/globals.cc
parent57a2873a5daa68a1ae3d4f4c3750d67d5223082e (diff)
Throughout, revert ill-conceived replacement of hMainThread with
GetCurrentThread/NtCurrentThread. * dcrt0.cc (dll_crt0_0): Duplicate main thread handle to hMainThread again.
Diffstat (limited to 'winsup/cygwin/globals.cc')
-rw-r--r--winsup/cygwin/globals.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/globals.cc b/winsup/cygwin/globals.cc
index 04d75648d..9554ac834 100644
--- a/winsup/cygwin/globals.cc
+++ b/winsup/cygwin/globals.cc
@@ -18,6 +18,7 @@ details. */
#include <malloc.h>
#include <cygwin/version.h>
+HANDLE NO_COPY hMainThread;
HANDLE NO_COPY hProcToken;
HANDLE NO_COPY hProcImpToken;
HMODULE NO_COPY cygwin_hmodule;