aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/include/sys
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-08-25 02:27:42 +0000
committerChristopher Faylor <me@cgf.cx>2000-08-25 02:27:42 +0000
commit239b06b864b0231e9995e2279af850362910872f (patch)
tree54156b2a5e8e3bbbd5dd0117e607570edd1f4e1f /winsup/cygwin/include/sys
parent4bb85e7f6720e5cfa362b985527e922a6047a1e4 (diff)
downloadnewlib-239b06b864b0231e9995e2279af850362910872f.zip
newlib-239b06b864b0231e9995e2279af850362910872f.tar.gz
newlib-239b06b864b0231e9995e2279af850362910872f.tar.bz2
* external.cc (cygwin_internal): Add CW_INIT_EXCEPTIONS to allow cygwin
exception handling on threads not created by cygwin. * sigproc.cc (proc_terminate): Don't release pinfo structs since we are exiting. * include/sys/cygwin.h: Add CW_INIT_EXCEPTIONS.
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r--winsup/cygwin/include/sys/cygwin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h
index 5b6cc70..0cbd736 100644
--- a/winsup/cygwin/include/sys/cygwin.h
+++ b/winsup/cygwin/include/sys/cygwin.h
@@ -61,7 +61,8 @@ typedef enum
CW_USER_DATA,
CW_PERFILE,
CW_GET_CYGDRIVE_PREFIXES,
- CW_GETPINFO_FULL
+ CW_GETPINFO_FULL,
+ CW_INIT_EXCEPTIONS
} cygwin_getinfo_types;
#define CW_NEXTPID 0x80000000 // or with pid to get next one