Closed vk2gpu closed 7 years ago
Rather than simply calling Core::SwitchThread in a loop whilst trying to get a job, they should wait on a semaphore to ensure they aren't simply consuming CPU cycles when not necessary.
Replaced Core::Event with Core::Semaphore, and now workers will wait on semaphores if there is no work.
Rather than simply calling Core::SwitchThread in a loop whilst trying to get a job, they should wait on a semaphore to ensure they aren't simply consuming CPU cycles when not necessary.