mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Add one assert
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
c974d9ef33
commit
5c944fb3b4
1 changed files with 1 additions and 0 deletions
|
@ -2594,6 +2594,7 @@ namespace {
|
|||
// instead of wasting CPU time polling for work.
|
||||
while (AllThreadsShouldSleep || threadID >= ActiveThreads)
|
||||
{
|
||||
assert(!waitSp);
|
||||
assert(threadID != 0);
|
||||
threads[threadID].state = THREAD_SLEEPING;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue