1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Halofreak1990 40c4811c04 Got everything to compile again.
Began transforming of current API to represent XNA 4.0, which is cleaner.
Dictionary<TKey, TValue> should now work (sort of-- need to implement resizing and enumerating)
Currently hunting down GraphicsDevice initialization
Up next: (hopefully successful) rendering of primitives
2012-09-28 20:36:02 +00:00

36 lines
875 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/********************************************************
* WaitHandle.h *
* *
* XFX WaitHandle definition file *
* Copyright © XFX Team. All Rights Reserved *
********************************************************/
#ifndef _SYSTEM_THREADING_WAITHANDLE_
#define _SYSTEM_THREADING_WAITHANDLE_
#include "../Types.h"
namespace System
{
namespace Threading
{
// Encapsulates operating systemspecific objects that wait for exclusive access to shared resources.
class WaitHandle
{
protected:
static const IntPtr InvalidHandle;
virtual void Dispose(bool explicitDisposing);
WaitHandle();
public:
IntPtr Handle;
virtual void Close();
virtual bool WaitOne();
virtual bool WaitOne(int millisecondsTimeout, bool exitContext);
};
}
}
#endif //_SYSTEM_THREADING_WAITHANDLE_