diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-07-02 17:40:30 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-07-03 12:14:17 +0300 |
commit | 0e1ee29f777dbcd7f74a4d99690f8d29022b8091 (patch) | |
tree | 4cc2728c21f972c9dec1875baf8ada3aef32022c /COPYING | |
parent | 0f4049db5f3c6be582d878e2ae1e6fd12dcad6bf (diff) |
BLI: Use TBB spin_mutex as SpinLock implementation
When building without TBB use native to the platform spin lock
implementation. For Windows it is an atomic-based busy-wait,
for Linux it is pthreads' spin lock.
For macOS it is a mutex lock. The reason behind this is to stop
using atomics library which has been declared deprecated in SDK
version 10.12. So this changes fixes a lot of noisy warnings on
the newer SDK.
Differential Revision: https://developer.blender.org/D8180
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions