示例#1
0
 public void Dispose()
 {
     if (ThreadHandle != IntPtr.Zero)
     {
         Syscall.CloseHandle(ThreadHandle);
         ThreadHandle = IntPtr.Zero;
     }
     GC.SuppressFinalize(this);
 }
示例#2
0
 public KernelResult CloseHandle64([R(0)] int handle)
 {
     return(_syscall.CloseHandle(handle));
 }