mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Notify workers when only at least one job is posted
This commit is contained in:
parent
b9b8ed177c
commit
82e2739bae
@ -87,6 +87,7 @@ namespace DetourNavigator
|
|||||||
|
|
||||||
log("posted ", mJobs.size(), " jobs");
|
log("posted ", mJobs.size(), " jobs");
|
||||||
|
|
||||||
|
if (!mJobs.empty())
|
||||||
mHasJob.notify_all();
|
mHasJob.notify_all();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user