fix invalid usage of SpinLock, #195
parent
da0e654e7d
commit
854100c075
|
@ -12,7 +12,7 @@ namespace Cysharp.Threading.Tasks.Internal
|
||||||
|
|
||||||
readonly PlayerLoopTiming timing;
|
readonly PlayerLoopTiming timing;
|
||||||
|
|
||||||
SpinLock gate = new SpinLock();
|
SpinLock gate = new SpinLock(false);
|
||||||
bool dequing = false;
|
bool dequing = false;
|
||||||
|
|
||||||
int actionListCount = 0;
|
int actionListCount = 0;
|
||||||
|
|
|
@ -9,7 +9,7 @@ namespace Cysharp.Threading.Tasks
|
||||||
const int MaxArrayLength = 0X7FEFFFFF;
|
const int MaxArrayLength = 0X7FEFFFFF;
|
||||||
const int InitialSize = 16;
|
const int InitialSize = 16;
|
||||||
|
|
||||||
static SpinLock gate = new SpinLock();
|
static SpinLock gate = new SpinLock(false);
|
||||||
static bool dequing = false;
|
static bool dequing = false;
|
||||||
|
|
||||||
static int actionListCount = 0;
|
static int actionListCount = 0;
|
||||||
|
|
Loading…
Reference in New Issue