private KernelResult CancelSynchronization(int handle) { KThread thread = _process.HandleTable.GetKThread(handle); if (thread == null) { return(KernelResult.InvalidHandle); } thread.CancelSynchronization(); return(KernelResult.Success); }