TestDestroy() bug corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
054d497f28
commit
2501ce513b
@ -342,9 +342,12 @@ bool wxThread::TestDestroy()
|
||||
usleep(1);
|
||||
}
|
||||
}
|
||||
|
||||
// VZ: do I understand it correctly that it will terminate the thread all by
|
||||
// itself if it was cancelled?
|
||||
pthread_testcancel();
|
||||
|
||||
return TRUE; /* what is this for? */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxThread::IsMain()
|
||||
|
@ -342,9 +342,12 @@ bool wxThread::TestDestroy()
|
||||
usleep(1);
|
||||
}
|
||||
}
|
||||
|
||||
// VZ: do I understand it correctly that it will terminate the thread all by
|
||||
// itself if it was cancelled?
|
||||
pthread_testcancel();
|
||||
|
||||
return TRUE; /* what is this for? */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
bool wxThread::IsMain()
|
||||
|
Loading…
Reference in New Issue
Block a user