Peano
Loading...
Searching...
No Matches
BooleanSemaphore.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5#include <string>
8
9
10namespace tarch {
11 namespace multicore {
12 class BooleanSemaphore;
13 class Lock;
14 }
15}
16
17#if defined(SharedTBB)
18
19#include <tbb/spin_mutex.h>
20
50
51#endif
Boolean semaphore across MPI ranks.
BooleanSemaphore & operator=(const BooleanSemaphore &)
You may not copy a semaphore.
BooleanSemaphore(const BooleanSemaphore &)
You may not copy a semaphore.
Create a lock around a boolean semaphore region.
Definition Lock.h:19
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition accelerator.h:19