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

◆ IOCallback()

static unsafe void System.IO.Pipes.PipeStream.PipeValueTaskSource.IOCallback ( uint errorCode,
uint numBytes,
NativeOverlapped * pOverlapped )
inlinestaticprivateinherited

Definition at line 130 of file PipeStream.cs.

131 {
133 if (Interlocked.Exchange(ref pipeValueTaskSource._result, 0x8000000000000000uL | ((ulong)numBytes << 32) | errorCode) != 0L)
134 {
135 pipeValueTaskSource.Complete(errorCode, numBytes);
136 }
137 }
static int Exchange(ref int location1, int value)
static unsafe? object GetNativeOverlappedState(NativeOverlapped *overlapped)

References System.IO.Pipes.PipeStream.PipeValueTaskSource.PipeValueTaskSource(), System.IO.Pipes.PipeStream.PipeValueTaskSource._result, System.IO.Pipes.PipeStream.PipeValueTaskSource.Complete(), System.Threading.Interlocked.Exchange(), System.Threading.ThreadPoolBoundHandle.GetNativeOverlappedState(), and System.L.