mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 23:12:15 +08:00
* cygtls.h (_cygtls::initialized): Remove bogus stack check which would when
checking the current thread from the current thread.
This commit is contained in:
parent
7dfaa59e82
commit
f241db6f60
@ -1,3 +1,9 @@
|
|||||||
|
2008-10-06 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
|
* cygtls.h (_cygtls::initialized): Remove bogus stack check which would
|
||||||
|
when checking the current thread from the current thread.
|
||||||
|
* tlsoffsets.h: Regenerate.
|
||||||
|
|
||||||
2008-10-05 Christopher Faylor <me+cygwin@cgf.cx>
|
2008-10-05 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* dcrt0.cc (dll_crt0_0): Don't initialize signals early when
|
* dcrt0.cc (dll_crt0_0): Don't initialize signals early when
|
||||||
|
@ -220,8 +220,7 @@ struct _cygtls
|
|||||||
__stack_t retaddr () {return stackptr[-1];}
|
__stack_t retaddr () {return stackptr[-1];}
|
||||||
bool isinitialized () const
|
bool isinitialized () const
|
||||||
{
|
{
|
||||||
volatile char here;
|
return initialized == CYGTLS_INITIALIZED;
|
||||||
return ((char *) this > &here) && initialized == CYGTLS_INITIALIZED;
|
|
||||||
}
|
}
|
||||||
bool interrupt_now (CONTEXT *, int, void *, struct sigaction&)
|
bool interrupt_now (CONTEXT *, int, void *, struct sigaction&)
|
||||||
__attribute__((regparm(3)));
|
__attribute__((regparm(3)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user