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

◆ AllocateNativeOverlapped() [1/3]

unsafe NativeOverlapped * System.Threading.ThreadPoolBoundHandle.AllocateNativeOverlapped ( IOCompletionCallback callback,
object state,
object pinData,
bool flowExecutionContext )
inlineprivate

Definition at line 43 of file ThreadPoolBoundHandle.cs.

44 {
45 if (callback == null)
46 {
47 throw new ArgumentNullException("callback");
48 }
50 ThreadPoolBoundHandleOverlapped threadPoolBoundHandleOverlapped = new ThreadPoolBoundHandleOverlapped(callback, state, pinData, null, flowExecutionContext);
51 threadPoolBoundHandleOverlapped._boundHandle = this;
52 return threadPoolBoundHandleOverlapped._nativeOverlapped;
53 }

References System.Threading.ThreadPoolBoundHandleOverlapped._nativeOverlapped, System.Threading.ThreadPoolBoundHandle.EnsureNotDisposed(), and System.state.