[Bf-blender-cvs] [d1dcd2b4648] master: BLI: Fix mistake in SpinLock TBB migration
Sergey Sharybin
noreply at git.blender.org
Tue Jul 7 16:18:02 CEST 2020
Commit: d1dcd2b4648fbe99e10252ed84cc7d4c7c4e9741
Author: Sergey Sharybin
Date: Tue Jul 7 16:17:36 2020 +0200
Branches: master
https://developer.blender.org/rBd1dcd2b4648fbe99e10252ed84cc7d4c7c4e9741
BLI: Fix mistake in SpinLock TBB migration
Copy-paste mistake.
===================================================================
M source/blender/blenlib/intern/threads.cc
===================================================================
diff --git a/source/blender/blenlib/intern/threads.cc b/source/blender/blenlib/intern/threads.cc
index 0f44207ecbd..a8333d0c696 100644
--- a/source/blender/blenlib/intern/threads.cc
+++ b/source/blender/blenlib/intern/threads.cc
@@ -500,7 +500,7 @@ void BLI_spin_end(SpinLock *spin)
#elif defined(__APPLE__)
BLI_mutex_end(spin);
#elif defined(_MSC_VER)
- BLI_mutex_unlock(spin);
+ /* Nothing to do, spin is a simple integer type. */
#else
pthread_spin_destroy(spin);
#endif
More information about the Bf-blender-cvs
mailing list