Nebula
Loading...
Searching...
No Matches
readwritelock.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
19//------------------------------------------------------------------------------
20#include "core/config.h"
21#if (__WIN32__)
23namespace Threading
24{
25class ReadWriteLock : public Win32::Win32ReadWriteLock
26{
27public:
28 ReadWriteLock() : Win32::Win32ReadWriteLock()
29 {};
30};
31}
32#elif ( __linux__ || __OSX__ || __APPLE__ )
34namespace Threading
35{
36class ReadWriteLock : public Posix::PosixReadWriteLock
37{
38public:
39 ReadWriteLock() : Posix::PosixReadWriteLock()
40 {};
41};
42}
43#else
44#error "Threading::ReadWriteLock not implemented on this platform!"
45#endif
Definition posixreadwritelock.h:16
Definition win32readwritelock.h:14
Nebula compiler specific defines and configuration.
Posix implemention of a read-many write-few lock.
Definition posixsysfunc.cc:21
The Jobs2 system provides a set of threads and a pool of jobs from which threads can pickup work.
Definition jobs2.h:16
[TODO: Describe Win32 subsystem]