latest SDK

This commit is contained in:
2021-12-14 00:28:25 -07:00
commit 68b10d413b
492 changed files with 80542 additions and 0 deletions

23
pfc/event.h Normal file
View File

@@ -0,0 +1,23 @@
namespace pfc {
#ifdef _WIN32
typedef HANDLE eventHandle_t;
static const eventHandle_t eventInvalid = NULL;
class event : public win32_event {
public:
event() { create(true, false); }
HANDLE get_handle() const {return win32_event::get();}
};
#else
typedef int eventHandle_t;
static const eventHandle_t eventInvalid = -1;
typedef nix_event event;
#endif
}