1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00

Fix one assert

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Joona Kiiski 2010-02-22 15:00:30 +02:00 committed by Marco Costalba
parent 85e60bfc8e
commit 78c6bb1079

View file

@ -2632,8 +2632,7 @@ namespace {
// finished their work at this split point, return from the idle loop.
if (waitSp != NULL && waitSp->cpus == 0)
{
assert( threads[threadID].state == THREAD_AVAILABLE
|| threads[threadID].state == THREAD_SEARCHING);
assert(threads[threadID].state == THREAD_AVAILABLE);
threads[threadID].state = THREAD_SEARCHING;
return;