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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-11-09 12:47:08 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-11-09 12:47:08 +0400
commitffbf0a1b12ae840f5fd5a21b3663743ee9beb26c (patch)
treea2e905041a364c1d0a1dd2590bb25fd0b9580769 /intern/cycles/util/util_thread.h
parent76525d53982dc783d9f1bf33223e0e7a2b412c60 (diff)
Cycles: no need in spin lock in memory statistics
This functions are called from device code which is guaranteed not to be called simultaneously from different threads.
Diffstat (limited to 'intern/cycles/util/util_thread.h')
-rw-r--r--intern/cycles/util/util_thread.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/intern/cycles/util/util_thread.h b/intern/cycles/util/util_thread.h
index 6d1bd0023a7..843764ca9d6 100644
--- a/intern/cycles/util/util_thread.h
+++ b/intern/cycles/util/util_thread.h
@@ -33,9 +33,6 @@ typedef boost::mutex thread_mutex;
typedef boost::mutex::scoped_lock thread_scoped_lock;
typedef boost::condition_variable thread_condition_variable;
-/* use boost for spinlocks as well */
-typedef boost::detail::spinlock spin_lock;
-
/* own pthread based implementation, to avoid boost version conflicts with
* dynamically loaded blender plugins */