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>2005-09-15 01:26:15 +0400
committerChristopher Faylor <me@cgf.cx>2005-09-15 01:26:15 +0400
commitc9629cefe942778a9c440e707e203b135de162ae (patch)
treee0927d50ab8b8c1266633af33876269c8c847203 /winsup/cygwin/tlsoffsets.h
parent1f48d233ebee49407b8900a2214e5d582be86555 (diff)
* cygtls.h (san): New structure.
(cygtls::andreas): New element. Replaces _myfault and _myfault_errno. (cygtls::fault_guarded): Use andreas. (cygtls::return_from_fault): Ditto. (cygtls::setup_fault): Add a parameter denoting where to store old fault handler, if any and use it to "stack" faults. (cygtls::reset_fault): Restore fault from parameter. (myfault::sebastian): New variable. (myfault::~myfault): Pass sebastian to reset_fault. (myfault::myfault): Store old fault values in sebastian.
Diffstat (limited to 'winsup/cygwin/tlsoffsets.h')
-rw-r--r--winsup/cygwin/tlsoffsets.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/winsup/cygwin/tlsoffsets.h b/winsup/cygwin/tlsoffsets.h
index fa79106bb..824e02ca3 100644
--- a/winsup/cygwin/tlsoffsets.h
+++ b/winsup/cygwin/tlsoffsets.h
@@ -37,10 +37,8 @@
//; $tls::plocals = 1264;
//; $tls::_ctinfo = -1092;
//; $tls::p_ctinfo = 2896;
-//; $tls::_myfault = -1088;
-//; $tls::p_myfault = 2900;
-//; $tls::_myfault_errno = -1084;
-//; $tls::p_myfault_errno = 2904;
+//; $tls::andreas = -1088;
+//; $tls::pandreas = 2900;
//; $tls::wq = -1080;
//; $tls::pwq = 2908;
//; $tls::prev = -1052;
@@ -99,10 +97,8 @@
#define tls_plocals (1264)
#define tls__ctinfo (-1092)
#define tls_p_ctinfo (2896)
-#define tls__myfault (-1088)
-#define tls_p_myfault (2900)
-#define tls__myfault_errno (-1084)
-#define tls_p_myfault_errno (2904)
+#define tls_andreas (-1088)
+#define tls_pandreas (2900)
#define tls_wq (-1080)
#define tls_pwq (2908)
#define tls_prev (-1052)