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