landing support for thread pools
git-svn-id: svn://10.0.0.236/branches/THREADS_20060213_BRANCH@190050 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -113,7 +113,7 @@ nsTaskQueue::PutTask(nsIRunnable *runnable)
|
||||
if (rv) {
|
||||
task.swap(mTail->mTasks[mOffsetTail]);
|
||||
++mOffsetTail;
|
||||
mon.Notify();
|
||||
mon.NotifyAll();
|
||||
}
|
||||
}
|
||||
return rv;
|
||||
|
||||
Reference in New Issue
Block a user