Suspend or resume the thread. If susp# is TRUE this increments an internal count of suspensions that must be matched by an equal number of calls to Resume()# or Suspend(FALSE)# before the thread actually executes again. If susp# is FALSE then this decrements the internal count of suspensions. If the count is <= 0 then the thread will run. Note that the thread will not be suspended until an equal number of Suspend(TRUE)# calls are made.
Definition at line 1375 of file win32.cxx. References PThread::IsTerminated(), and PThread::Resume(). Referenced by ThreadTest::Main(), SortedListTest::Main(), and Xmlrpcsrvr::Main(). { PAssert(!IsTerminated(), "Operation on terminated thread"); if (susp) SuspendThread(threadHandle); else Resume(); }
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]() |