Skip to content

Commit

Permalink
more lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kallsyms committed Feb 20, 2024
1 parent 8a8a7ce commit 6680f90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/common/SantaCache.h
Expand Up @@ -320,7 +320,8 @@ class SantaCache {
Lock a bucket. Spins until the lock is acquired.
*/
inline void lock(struct bucket *bucket) const {
while (OSAtomicTestAndSet(7, (volatile uint8_t *)&bucket->head));
while (OSAtomicTestAndSet(7, (volatile uint8_t *)&bucket->head)) {
}
}

/**
Expand Down

0 comments on commit 6680f90

Please sign in to comment.