hbirchtree / coffeecutie

A C++ game engine/rendering engine
MIT License
5 stars 0 forks source link

Add block/unblock functionality to RuntimeQueue, for synchronization #249

Closed hbirchtree closed 6 years ago

hbirchtree commented 7 years ago

Should acquire a lock on a mutex to halt worker threads, and be able to unlock it later. This is useful for suspending input threads and physics threads.