* cygtls.cc (_cygtls::remove): Reset initialized flag right away if we were

previously initialized.
* cygtls.h (_cygtls::initialized): Move nearer the end to catch situation when
Windows 98 mysteriously changes pieces of cygtls when thread is detaching.
* gendef (__sigfe_maybe): Simplify slightly.
* tlsoffsets.h: Regenerate.
This commit is contained in:
Christopher Faylor
2006-03-13 04:26:57 +00:00
parent 51f90b2f01
commit 9badd94adb
5 changed files with 112 additions and 100 deletions

View File

@@ -144,7 +144,6 @@ struct _cygtls
sigset_t deltamask;
HANDLE event;
int *errno_addr;
unsigned initialized;
sigset_t sigmask;
sigset_t sigwait_mask;
siginfo_t *sigwait_info;
@@ -170,6 +169,7 @@ struct _cygtls
unsigned stacklock;
__stack_t *stackptr;
__stack_t stack[TLS_STACK_SIZE];
unsigned initialized;
unsigned padding[0];
/*gentls_offsets*/