threadpool.h File Reference
#include <fplll/defs.h>
#include <fplll/io/thread_pool.hpp>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef std::lock_guard< std::mutexlock_guard
 
typedef std::unique_lock< std::mutexunique_lock
 
typedef thread_pool::barrier barrier
 

Functions

int get_threads ()
 
int set_threads (int th=-1)
 

Variables

FPLLL_BEGIN_NAMESPACE typedef std::mutex mutex
 
thread_pool::thread_pool threadpool
 

Typedef Documentation

◆ barrier

◆ lock_guard

typedef std::lock_guard<std::mutex> lock_guard

◆ unique_lock

typedef std::unique_lock<std::mutex> unique_lock

Function Documentation

◆ get_threads()

int get_threads ( )

◆ set_threads()

int set_threads ( int  th = -1)

Variable Documentation

◆ mutex

FPLLL_BEGIN_NAMESPACE typedef std::mutex mutex

◆ threadpool

thread_pool::thread_pool threadpool
extern