diff options
Diffstat (limited to 'intern/cycles/util/thread.cpp')
-rw-r--r-- | intern/cycles/util/thread.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/intern/cycles/util/thread.cpp b/intern/cycles/util/thread.cpp index 24a0600425d..e2e785b9a80 100644 --- a/intern/cycles/util/thread.cpp +++ b/intern/cycles/util/thread.cpp @@ -21,7 +21,7 @@ CCL_NAMESPACE_BEGIN -thread::thread(function<void()> run_cb, int node) : run_cb_(run_cb), joined_(false), node_(node) +thread::thread(function<void()> run_cb) : run_cb_(run_cb), joined_(false) { #ifdef __APPLE__ /* Set the stack size to 2MB to match Linux. The default 512KB on macOS is @@ -46,9 +46,6 @@ thread::~thread() void *thread::run(void *arg) { thread *self = (thread *)(arg); - if (self->node_ != -1) { - system_cpu_run_thread_on_node(self->node_); - } self->run_cb_(); return NULL; } |