18 #ifndef LUNCHBOX_OMP_H
19 #define LUNCHBOX_OMP_H
23 #ifdef LUNCHBOX_USE_OPENMP
44 LUNCHBOX_API
static void setNThreads(
unsigned nThreads );
54 #endif //LUNCHBOX_OMP_H
Defines export visibility macros for library Lunchbox.
Base class for OpenMP functionality.
static LUNCHBOX_API int getThreadNum()
static LUNCHBOX_API void setNThreads(unsigned nThreads)
Set the maximum number of threads.
Abstraction layer and common utilities for multi-threaded programming.
static LUNCHBOX_API unsigned getNThreads()