Busy waits on lock to execute. Can improve performance in certain situations. More...
Public Member Functions | |
BusyWaitQueue (int spinsBeforeTimeCheck, int msBeforeBlockingWait) | |
void | Enqueue (IFiberAction action) |
Enqueue action. More... | |
void | Run () |
Execute actions until stopped. More... | |
void | Stop () |
Stop consuming actions. More... | |
Busy waits on lock to execute. Can improve performance in certain situations.
|
inline |
|
inline |
|
inline |
Execute actions until stopped.
Implements ExitGames.Concurrency.Core.IQueue.
|
inline |
Stop consuming actions.
Implements ExitGames.Concurrency.Core.IQueue.