Nebula
Loading...
Searching...
No Matches
event.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
12#include "core/config.h"
13#if (__WIN32__)
15namespace Threading
16{
17class Event : public Win32::Win32Event
18{
19public:
20 Event(bool manualReset=false) : Win32Event(manualReset) {};
21};
22}
23#elif __linux__
25namespace Threading
26{
27class Event : public Linux::LinuxEvent
28{
29public:
30 Event(bool manualReset=false) : LinuxEvent(manualReset) {};
31};
32}
33#elif ( __OSX__ || __APPLE__ )
35namespace Threading
36{
37class Event : public Posix::PosixEvent
38{
39public:
40 Event(bool manualReset=false) : PosixEvent(manualReset) {};
41};
42}
43#else
44#error "Threading::Event not implemented on this platform!"
45#endif
46
47namespace Threading
48{
50{
51public:
53};
54}
55//------------------------------------------------------------------------------
Linux implementation of Event.
Definition linuxevent.h:18
Posix implmentation of an event synchronization object.
Definition posixevent.h:20
Definition event.h:50
EventWithManualReset()
Definition event.h:52
Win32 implementation of an event synchronization object.
Definition win32event.h:18
Nebula compiler specific defines and configuration.
The Jobs2 system provides a set of threads and a pool of jobs from which threads can pickup work.
Definition jobs2.h:16