revert to using old bad spinwait, disruptorplus' blocking_wait code does not compile
This commit is contained in:
parent
cb85fe401c
commit
020d64a1a1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue