From 12e659efa8f172167a526f251e36571f6f976740 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 18 May 2000 03:20:01 +0000 Subject: * dcrt0.cc (dll_crt0_1): Initialize mainthread stuff here before anything needs it. * sigproc.cc (sigproc_init): Move mainthread initialization out of here. * sigproc.h (sigthread): Add init() method. (sigframe): Don't try to initialize muto. * sync.cc: Undef WaitForSingleObject to avoid recursion. --- winsup/cygwin/sync.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/sync.cc') diff --git a/winsup/cygwin/sync.cc b/winsup/cygwin/sync.cc index 2ca3a27ac..5036c3d1d 100644 --- a/winsup/cygwin/sync.cc +++ b/winsup/cygwin/sync.cc @@ -23,6 +23,8 @@ details. */ muto NO_COPY muto_start; +#undef WaitForSingleObject + /* Constructor */ muto::muto (int inh, const char *s) : sync (0), visits(0), waiters(-1), tid (0), next (NULL) { -- cgit v1.2.3