3 Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
5 This software is a copyrighted work licensed under the terms of the
6 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
18 LPTHREAD_START_ROUTINE func
;
22 void terminate_thread ();
24 static DWORD WINAPI
stub (VOID
*);
25 static DWORD WINAPI
simplestub (VOID
*);
26 static DWORD main_thread_id
;
27 static const char * name (DWORD
= 0);
28 cygthread (LPTHREAD_START_ROUTINE
, LPVOID
, const char *);
31 bool detach (HANDLE
= NULL
);
34 void * operator new (size_t);
35 static cygthread
*freerange ();
37 static void terminate ();
38 bool SetThreadPriority (int nPriority
) {return ::SetThreadPriority (h
, nPriority
);}
41 (void) CloseHandle (h
);