revert to using old bad spinwait, disruptorplus' blocking_wait code does not compile

This commit is contained in:
chss95cs@gmail.com 2022-08-13 13:20:35 -07:00
parent cb85fe401c
commit 020d64a1a1
1 changed files with 6 additions and 1 deletions

View File

@ -31,7 +31,12 @@ using WaitItem = TimerQueueWaitItem;
monopolizing a ton of cpu time (depending on the game 2-4% of total cpu time)
on my 3990x no complaints since that change
*/
using WaitStrat = dp::blocking_wait_strategy;
/*
edit: actually had to change it back, when i was testing it only worked because i fixed disruptorplus' code to compile (it gives wrong args to condition_variable::wait_until) but now builds
*/
using WaitStrat = dp::spin_wait_strategy;//dp::blocking_wait_strategy;
class TimerQueue {
public: