|
Blender
V2.93
|
#include <util_thread.h>
Public Member Functions | |
| thread (function< void()> run_cb, int node=-1) | |
| ~thread () | |
| bool | join () |
Static Public Member Functions | |
| static void * | run (void *arg) |
Protected Attributes | |
| function< void()> | run_cb_ |
| std::thread | std_thread |
| bool | joined_ |
| int | node_ |
Definition at line 47 of file util_thread.h.
| CCL_NAMESPACE_BEGIN thread::thread | ( | function< void()> | run_cb, |
| int | node = -1 |
||
| ) |
Definition at line 24 of file util_thread.cpp.
References run(), and std_thread.
| thread::~thread | ( | ) |
Definition at line 39 of file util_thread.cpp.
| bool thread::join | ( | ) |
Definition at line 56 of file util_thread.cpp.
References joined_, NULL, and std_thread.
Referenced by Profiler::stop(), Session::wait(), DedicatedTaskPool::~DedicatedTaskPool(), and ~thread().
|
static |
Definition at line 46 of file util_thread.cpp.
References NULL, self, and system_cpu_run_thread_on_node().
Referenced by thread().
|
protected |
Definition at line 64 of file util_thread.h.
|
protected |
Definition at line 65 of file util_thread.h.
|
protected |
Definition at line 58 of file util_thread.h.
|
protected |
Definition at line 62 of file util_thread.h.