fix inability to toggle between 3d cores (multithread util class couldnt restart)

This commit is contained in:
zeromus 2009-11-09 07:32:33 +00:00
parent 2d4c9d19e8
commit f7111cd07a
1 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,9 @@ void Task::Impl::taskProc()
void Task::Impl::start(bool spinlock)
{
bIncomingWork = false;
bWorkDone = true;
bKill = false;
bStarted = true;
this->spinlock = spinlock;
incomingWork = CreateEvent(NULL,FALSE,FALSE,NULL);