* cygthread.cc (cygthread::simplestub): Notify that the thread has detached
also in freerange thread case.
This commit is contained in:
parent
603ef545bd
commit
2691168e98
|
@ -1,3 +1,8 @@
|
|||
2011-08-25 Rafal Zwierz <rzwierz@googlemail.com>
|
||||
|
||||
* cygthread.cc (cygthread::simplestub): Notify that the thread has
|
||||
detached also in freerange thread case.
|
||||
|
||||
2011-08-25 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler.cc (fhandler_base::open): Never open files with
|
||||
|
|
|
@ -136,7 +136,11 @@ cygthread::simplestub (VOID *arg)
|
|||
cygthread *info = (cygthread *) arg;
|
||||
_my_tls._ctinfo = info;
|
||||
info->stack_ptr = &arg;
|
||||
HANDLE notify = info->notify_detached;
|
||||
info->callfunc (true);
|
||||
if (notify)
|
||||
SetEvent (notify);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue