Files
linux-packaging-mono/mcs/class/System.Private.CoreLib/Microsoft.Win32.SafeHandles/SafeWaitHandle.Unix.cs

18 lines
369 B
C#
Raw Normal View History

using System;
using System.Threading;
using System.Runtime.CompilerServices;
namespace Microsoft.Win32.SafeHandles
{
partial class SafeWaitHandle
{
protected override bool ReleaseHandle ()
{
CloseEventInternal (handle);
return true;
}
[MethodImplAttribute (MethodImplOptions.InternalCall)]
static extern void CloseEventInternal (IntPtr handle);
}
}