Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
threadbarrier.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
12
#include "
core/config.h
"
13
#if (__WIN32__)
14
#include "
threading/win32/win32threadbarrier.h
"
15
namespace
Threading
16
{
17
class
ThreadBarrier
:
public
Win32::Win32ThreadBarrier
18
{ };
19
}
20
#elif (__linux__ || __OSX__ || __APPLE__)
21
namespace
Threading
22
{
23
#include "
threading/posix/posixthreadbarrier.h
"
24
class
ThreadBarrier
:
public
Posix::PosixThreadBarrier
25
{ };
26
}
27
#else
28
#error "Threading::ThreadBarrier not implemented on this platform!"
29
#endif
30
31
32
Posix::PosixThreadBarrier
Block until all thread have arrived at the barrier.
Definition
posixthreadbarrier.h:18
ThreadBarrier
Block until all thread have arrived at the barrier.
Win32::Win32ThreadBarrier
Block until all thread have arrived at the barrier.
Definition
win32threadbarrier.h:19
config.h
Nebula compiler specific defines and configuration.
Threading
The Jobs2 system provides a set of threads and a pool of jobs from which threads can pickup work.
Definition
jobs2.h:16
posixthreadbarrier.h
win32threadbarrier.h
code
foundation
threading
threadbarrier.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.