Use remaining task count instead of idle worker count, this avoids a race condition where a worker signals idle after being tasked with a new job |
||
|---|---|---|
| .. | ||
| Engine | ||
| main.cpp | ||
| resources.cpp | ||
| subprocess1.cpp | ||
| subprocess2.cpp | ||
| xmake.lua | ||
Use remaining task count instead of idle worker count, this avoids a race condition where a worker signals idle after being tasked with a new job |
||
|---|---|---|
| .. | ||
| Engine | ||
| main.cpp | ||
| resources.cpp | ||
| subprocess1.cpp | ||
| subprocess2.cpp | ||
| xmake.lua | ||