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:
Vadim Zeitlin 1999-01-11 16:13:47 +00:00
parent 054d497f28
commit 2501ce513b
2 changed files with 8 additions and 2 deletions

View File

@ -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()

View File

@ -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()