* cygthread.cc (cygthread::detach): Revert to just waiting for thred event
since waiting for anything else is racy. * timer.cc (timer_tracker::hcancel): Rename from cancel. (timer_tracker::cancel): New method. (timer_tracker::th): Remove. (timer_tracker::~timer_tracker): Call cancel method. (timer_tracker::timer_tracker): Ditto. (timer_tracker::timer_tracker): Always, clear cancel, even though it is probably not strictly necessary for ttstart. (timer_thread): Accommodate cancel -> hcancel rename. (timer_tracker::settime): Ditto. (timer_tracker::gettime): Ditto. (timer_delete): Ditto. * cygwin.din: Export _ctype_. * include/ctype.h: Mark that _ctype_ is imported.
This commit is contained in:
@@ -38,7 +38,11 @@ int __cdecl _toupper(int);
|
||||
#define _X 0100
|
||||
#define _B 0200
|
||||
|
||||
#ifdef __INSIDE_CYGWIN__
|
||||
extern const char _ctype_[];
|
||||
#else
|
||||
extern const __declspec(dllimport) char _ctype_[];
|
||||
#endif
|
||||
|
||||
#if !defined(__cplusplus) || defined(__INSIDE_CYGWIN__)
|
||||
#define isalpha(c) ((_ctype_+1)[(unsigned)(c)]&(_U|_L))
|
||||
|
Reference in New Issue
Block a user