From efd76e4140cbdb4e1f6acfbf5c95e5bf6e5dceeb Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 7 Mar 2001 06:19:34 +0000 Subject: * sigproc.h (sigthread): Declare new methods. Create new winapi_lock field. (sigframe:;set): Call get_winapi_lock after frame is set so that signal handler thread knows not to call SuspendThread. (sigframe::~sigframe): Release winapi_lock. * exceptions.cc (sigthread::get_winapi_lock): New method. (sigthread::release_winapi_lock): New method. (setup_handler): Use get_winapi_lock to ensure that signalled thread is not blocked in a Windows API. * path.h (path_types): Avoid broken GCC warning. --- winsup/cygwin/path.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 40b8eec5b..bdca965b4 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -36,7 +36,7 @@ enum path_types PATH_BINARY = MOUNT_BINARY, PATH_EXEC = MOUNT_EXEC, PATH_CYGWIN_EXEC = MOUNT_CYGWIN_EXEC, - PATH_ALL_EXEC = PATH_CYGWIN_EXEC | PATH_EXEC, + PATH_ALL_EXEC = (PATH_CYGWIN_EXEC | PATH_EXEC), PATH_ISDISK = 0x04000000, PATH_NOTEXEC = 0x08000000, PATH_HAS_SYMLINKS = 0x10000000, -- cgit v1.2.3