singrdk/base/Interfaces/Singularity.V1/Threads/ManualResetEventHandle.csi

33 lines
967 B
Plaintext
Raw Normal View History

2008-03-05 09:52:00 -05:00
////////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity - Singularity ABI
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: ManualResetEventHandle.csi
//
// Note:
//
using System;
using System.Runtime.CompilerServices;
namespace Microsoft.Singularity.V1.Threads
{
public struct ManualResetEventHandle // : public WaitHandle
{
public readonly UIntPtr id; // could be moved to WaitHandle
[NoHeapAllocation]
public static bool Create(bool initialState,
out ManualResetEventHandle handle);
[NoHeapAllocation]
public static void Dispose(ManualResetEventHandle handle);
[NoHeapAllocation]
public static bool Reset(ManualResetEventHandle handle);
[NoHeapAllocation]
public static bool Set(ManualResetEventHandle handle);
}
}