We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0f1385 commit 58a6638Copy full SHA for 58a6638
CoreFoundation/Base.subproj/CFInternal.h
@@ -576,12 +576,10 @@ typedef pthread_mutex_t * os_unfair_lock_t;
576
CF_INLINE void os_unfair_lock_lock(os_unfair_lock_t lock) { pthread_mutex_lock(lock); }
577
CF_INLINE void os_unfair_lock_unlock(os_unfair_lock_t lock) { pthread_mutex_unlock(lock); }
578
#elif defined(_WIN32)
579
-#define OS_UNFAIR_LOCK_DATA_SYNCHRONIZATION 0
580
#define OS_UNFAIR_LOCK_INIT CFLockInit
581
#define os_unfair_lock CFLock_t
582
#define os_unfair_lock_t CFLock_t *
583
#define os_unfair_lock_lock __CFLock
584
-#define os_unfair_lock_lock_with_options(lock, options) __CFLock(lock)
585
#define os_unfair_lock_unlock __CFUnlock
586
#endif // __has_include(<os/lock.h>)
587
0 commit comments