diff options
author | Christopher Faylor <me@cgf.cx> | 2004-03-09 01:24:08 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-03-09 01:24:08 +0000 |
commit | 5fb0fe79eb76f59ac5d88e15c38b6e7bc63f9c91 (patch) | |
tree | c57bdf1735ddd76ac2dbb6a72c92ecaef9dd4d78 /winsup/cygwin/cygtls.h | |
parent | 0c378b648ef9a141ade2bdffb4dfa5ea43fd03d4 (diff) | |
download | newlib-5fb0fe79eb76f59ac5d88e15c38b6e7bc63f9c91.zip newlib-5fb0fe79eb76f59ac5d88e15c38b6e7bc63f9c91.tar.gz newlib-5fb0fe79eb76f59ac5d88e15c38b6e7bc63f9c91.tar.bz2 |
* exceptions.cc (setup_handler): Avoid suspending a thread if it in a cygwin
function, in an exception, spinning, or locked.
* gendef (_sigfe): Move incyg setting earlier.
(sigreturn): Set incyg flag to avoid interrupting called cygwin functions.
(sigdelayed): Ditto.
(stabilize_sig_stack): Ditto.
* sigproc.cc (proc_subproc): Don't restore process lock early in exec case.
* cygtls.h: Reorganize fields in _cygtls slightly.
* tlsoffsets.h: Regenerate.
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r-- | winsup/cygwin/cygtls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h index 5e25766..a79f348 100644 --- a/winsup/cygwin/cygtls.h +++ b/winsup/cygwin/cygtls.h @@ -111,9 +111,9 @@ struct _cygtls struct _cygtls *prev, *next; __stack_t *stackptr; int sig; - unsigned stacklock; - unsigned spinning; unsigned incyg; + unsigned spinning; + unsigned stacklock; __stack_t stack[TLS_STACK_SIZE]; unsigned padding[0]; |