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

◆ BindHandle() [2/2]

static bool System.Threading.ThreadPool.BindHandle ( SafeHandle osHandle)
inlinestatic

Definition at line 373 of file ThreadPool.cs.

374 {
375 if (osHandle == null)
376 {
377 throw new ArgumentNullException("osHandle");
378 }
379 bool flag = false;
380 bool success = false;
381 try
382 {
383 osHandle.DangerousAddRef(ref success);
384 return BindIOCompletionCallbackNative(osHandle.DangerousGetHandle());
385 }
386 finally
387 {
388 if (success)
389 {
390 osHandle.DangerousRelease();
391 }
392 }
393 }
static bool BindIOCompletionCallbackNative(IntPtr fileHandle)

References System.Threading.ThreadPool.BindIOCompletionCallbackNative().