steal() can incorrectly return nullptr even if the list is not empty in case of concurrent access, but push and pop are not threadsafe so we use a spinlock to prevent concurrent uses |
||
|---|---|---|
| .. | ||
| Engine | ||
| main.cpp | ||
| resources.cpp | ||
| subprocess1.cpp | ||
| subprocess2.cpp | ||
| xmake.lua | ||