* cygtls.cc (_cygtls::remove): Don't test for initialization since this

function will always be called when _my_tls is initialized.
* init.cc (dll_entry): Don't attempt to remove tls info if _my_tls is obviously
not even available.
This commit is contained in:
Christopher Faylor
2006-05-17 03:36:14 +00:00
parent 1e68a8ced0
commit 9fa8d227d4
3 changed files with 9 additions and 3 deletions

View File

@@ -147,8 +147,6 @@ _cygtls::fixup_after_fork ()
void
_cygtls::remove (DWORD wait)
{
if (!isinitialized ())
return;
initialized = 0;
if (!locals.exitsock || exit_state >= ES_FINAL)
return;