diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-01-07 13:46:31 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-01-07 13:47:37 +0300 |
commit | 2cc6b249c382981cee15d69db8440e2ba3dd6453 (patch) | |
tree | 2ccc8a6ac319e2eaf82603ade275e1bf3e541040 /intern/cycles/util/thread.h | |
parent | 361702f239528803260ba966d4174b8601e90a53 (diff) |
Cycles: Remove usage of libnumaapi
No need for it now since all the threading queries and
scheduling is done via TBB.
Should be no functional changes as all the removed code
is supposed to be unused.
Diffstat (limited to 'intern/cycles/util/thread.h')
-rw-r--r-- | intern/cycles/util/thread.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/intern/cycles/util/thread.h b/intern/cycles/util/thread.h index 09686e4b23f..bd6a83e1dd1 100644 --- a/intern/cycles/util/thread.h +++ b/intern/cycles/util/thread.h @@ -46,9 +46,7 @@ typedef std::condition_variable thread_condition_variable; class thread { public: - /* NOTE: Node index of -1 means that affinity will be inherited from the - * parent thread and no override on top of that will happen. */ - thread(function<void()> run_cb, int node = -1); + thread(function<void()> run_cb); ~thread(); static void *run(void *arg); @@ -62,7 +60,6 @@ class thread { std::thread std_thread; #endif bool joined_; - int node_; }; using thread_spin_lock = tbb::spin_mutex; |