Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsHeldByCurrentThread

bool System.Threading.SpinLock.IsHeldByCurrentThread
get

Definition at line 63 of file SpinLock.cs.

64 {
65 get
66 {
68 {
69 throw new InvalidOperationException(SR.SpinLock_IsHeldByCurrentThread);
70 }
71 return (_owner & 0x7FFFFFFF) == Environment.CurrentManagedThreadId;
72 }
73 }

Referenced by System.Threading.SpinLock.ExitSlowPath().