Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/util/util_thread.h')
-rw-r--r--intern/cycles/util/util_thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/util/util_thread.h b/intern/cycles/util/util_thread.h
index 6250bb95dcf..d54199a37fc 100644
--- a/intern/cycles/util/util_thread.h
+++ b/intern/cycles/util/util_thread.h
@@ -46,7 +46,7 @@ typedef std::condition_variable thread_condition_variable;
class thread {
public:
- thread(function<void()> run_cb, int group = -1);
+ thread(function<void()> run_cb, int node = -1);
~thread();
static void *run(void *arg);
@@ -56,7 +56,7 @@ protected:
function<void()> run_cb_;
std::thread thread_;
bool joined_;
- int group_;
+ int node_;
};
/* Own wrapper around pthread's spin lock to make it's use easier. */