brintos

brintos / llvm-project-archived public Read only

0
0
Text · 438 B · 9624892 Raw
16 lines · plain
1.. title:: clang-tidy - darwin-avoid-spinlock2 3darwin-avoid-spinlock4=====================5 6Finds usages of ``OSSpinlock``, which is deprecated due to potential livelock7problems.8 9This check will detect following function invocations:10 11- ``OSSpinlockLock``12- ``OSSpinlockTry``13- ``OSSpinlockUnlock``14 15The corresponding information about the problem of ``OSSpinlock``: https://blog.postmates.com/why-spinlocks-are-bad-on-ios-b69fc522105816