Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-03-09 04:24:08 +0300
committerChristopher Faylor <me@cgf.cx>2004-03-09 04:24:08 +0300
commit5fb0fe79eb76f59ac5d88e15c38b6e7bc63f9c91 (patch)
treec57bdf1735ddd76ac2dbb6a72c92ecaef9dd4d78 /winsup/cygwin/tlsoffsets.h
parent0c378b648ef9a141ade2bdffb4dfa5ea43fd03d4 (diff)
* 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/tlsoffsets.h')
-rw-r--r--winsup/cygwin/tlsoffsets.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/winsup/cygwin/tlsoffsets.h b/winsup/cygwin/tlsoffsets.h
index 96b06d7f2..3d07a17a6 100644
--- a/winsup/cygwin/tlsoffsets.h
+++ b/winsup/cygwin/tlsoffsets.h
@@ -41,12 +41,12 @@
//; $tls::pstackptr = 2704;
//; $tls::sig = -1040;
//; $tls::psig = 2708;
-//; $tls::stacklock = -1036;
-//; $tls::pstacklock = 2712;
+//; $tls::incyg = -1036;
+//; $tls::pincyg = 2712;
//; $tls::spinning = -1032;
//; $tls::pspinning = 2716;
-//; $tls::incyg = -1028;
-//; $tls::pincyg = 2720;
+//; $tls::stacklock = -1028;
+//; $tls::pstacklock = 2720;
//; $tls::stack = -1024;
//; $tls::pstack = 2724;
//; $tls::padding = 0;
@@ -93,12 +93,12 @@
#define tls_pstackptr (2704)
#define tls_sig (-1040)
#define tls_psig (2708)
-#define tls_stacklock (-1036)
-#define tls_pstacklock (2712)
+#define tls_incyg (-1036)
+#define tls_pincyg (2712)
#define tls_spinning (-1032)
#define tls_pspinning (2716)
-#define tls_incyg (-1028)
-#define tls_pincyg (2720)
+#define tls_stacklock (-1028)
+#define tls_pstacklock (2720)
#define tls_stack (-1024)
#define tls_pstack (2724)
#define tls_padding (0)