Blender  V3.3
Classes | Typedefs | Variables
thread.h File Reference
#include <condition_variable>
#include <functional>
#include <mutex>
#include <queue>
#include <thread>
#include <pthread.h>
#include <tbb/spin_mutex.h>
#include "util/function.h"

Go to the source code of this file.

Classes

class  thread
 
class  thread_scoped_spin_lock
 

Typedefs

typedef std::unique_lock< std::mutexthread_scoped_lock
 
typedef std::condition_variable thread_condition_variable
 
using thread_spin_lock = tbb::spin_mutex
 

Variables

CCL_NAMESPACE_BEGIN typedef std::mutex thread_mutex
 

Typedef Documentation

◆ thread_condition_variable

typedef std::condition_variable thread_condition_variable

Definition at line 29 of file thread.h.

◆ thread_scoped_lock

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

Definition at line 28 of file thread.h.

◆ thread_spin_lock

using thread_spin_lock = tbb::spin_mutex

Definition at line 52 of file thread.h.

Variable Documentation

◆ thread_mutex

CCL_NAMESPACE_BEGIN typedef std::mutex thread_mutex

Definition at line 27 of file thread.h.