Monero
Loading...
Searching...
No Matches
threadpool.cpp File Reference
#include <atomic>
#include "gtest/gtest.h"
#include "misc_language.h"
#include "common/threadpool.h"
Include dependency graph for threadpool.cpp:

Functions

 TEST (threadpool, wait_nothing)
 TEST (threadpool, wait_waits)
 TEST (threadpool, one_thread)
 TEST (threadpool, many_threads)
static uint64_t fibonacci (std::shared_ptr< tools::threadpool > tpool, uint64_t n)
 TEST (threadpool, reentrency)
 TEST (threadpool, reentrancy)
 TEST (threadpool, leaf_throws)
 TEST (threadpool, leaf_reentrancy)

Function Documentation

◆ fibonacci()

uint64_t fibonacci ( std::shared_ptr< tools::threadpool > tpool,
uint64_t n )
static

◆ TEST() [1/8]

TEST ( threadpool ,
leaf_reentrancy  )

◆ TEST() [2/8]

TEST ( threadpool ,
leaf_throws  )

◆ TEST() [3/8]

TEST ( threadpool ,
many_threads  )

◆ TEST() [4/8]

TEST ( threadpool ,
one_thread  )

◆ TEST() [5/8]

TEST ( threadpool ,
reentrancy  )

◆ TEST() [6/8]

TEST ( threadpool ,
reentrency  )

◆ TEST() [7/8]

TEST ( threadpool ,
wait_nothing  )

◆ TEST() [8/8]

TEST ( threadpool ,
wait_waits  )