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

◆ AsyncWaitHandle

WaitHandle System.Net.LazyAsyncResult.AsyncWaitHandle
getinherited

Implements System.IAsyncResult.

Definition at line 51 of file LazyAsyncResult.cs.

52 {
53 get
54 {
55 _userEvent = true;
56 if (_intCompleted == 0)
57 {
58 Interlocked.CompareExchange(ref _intCompleted, int.MinValue, 0);
59 }
61 while (waitHandle == null)
62 {
63 LazilyCreateEvent(out waitHandle);
64 }
65 return waitHandle;
66 }
67 }
bool LazilyCreateEvent(out ManualResetEvent waitHandle)
static int CompareExchange(ref int location1, int value, int comparand)