SUNphi  1.0
Thread.hpp File Reference

Basic functionalities of threads. More...

#include <pthread.h>
#include <thread>

Go to the source code of this file.

Macros

#define ALLOWS_ALL_THREADS_TO_PRINT_FOR_THIS_SCOPE(LOGGER)
 Makes all thread print for current scope.
 

Variables

constexpr bool DEBUG_THREADS
 States that we want to debug threads. More...
 
constexpr int SUNphi::masterThreadId
 Thread id of master thread. More...
 

Detailed Description

Basic functionalities of threads.

Definition in file Thread.hpp.

Variable Documentation

constexpr bool DEBUG_THREADS
Initial value:
=
true

States that we want to debug threads.

Definition at line 17 of file Thread.hpp.

constexpr int SUNphi::masterThreadId
Initial value:
=
0

Thread id of master thread.

Definition at line 24 of file Thread.hpp.