Cleanup inline locking code

This commit is contained in:
Justine Tunney 2023-11-29 00:36:22 -08:00
parent 96185e1ac0
commit 4427581a05
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
12 changed files with 48 additions and 74 deletions

View file

@ -24,7 +24,7 @@
*
* @return 0 on success, or errno on error
*/
errno_t(pthread_spin_destroy)(pthread_spinlock_t *spin) {
errno_t pthread_spin_destroy(pthread_spinlock_t *spin) {
atomic_store_explicit(&spin->_lock, -1, memory_order_relaxed);
return 0;
}