mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 03:09:13 +00:00
Get rid of the PnUtils TLS stuff.
This commit is contained in:
@ -61,7 +61,6 @@ namespace Nt {
|
||||
|
||||
//===========================================================================
|
||||
void NtSleep (unsigned sleepMs) {
|
||||
ThreadAssertCanBlock(__FILE__, __LINE__);
|
||||
Sleep(sleepMs);
|
||||
}
|
||||
|
||||
|
@ -307,9 +307,6 @@ void AsyncTimerDelete (
|
||||
|
||||
// Wait until the timer procedure completes
|
||||
if (timerProc) {
|
||||
// ensure that I/O worker threads don't call this function with waitComplete=true
|
||||
// to prevent a possible deadlock of a timer callback waiting for itself to complete
|
||||
ThreadAssertCanBlock(__FILE__, __LINE__);
|
||||
|
||||
while (s_timerCurr == timerProc)
|
||||
Sleep(1);
|
||||
|
Reference in New Issue
Block a user