core/linux/os.c
/* read_write_lock_t implementation doesn't expect the contention path
   helpers to guarantee the lock is held (unlike mutexes) so simple
   yields are still acceptable.
*/
read_write_lock_t implementation doesn't expect the contention path
helpers to guarantee the lock is held (unlike mutexes) so simple
yields are still acceptable.
read_write_lock_t implementation doesn ' t expect the contention path helpers to guarantee the lock is held ( unlike mutexes ) so simple yields are still acceptable .
void
rwlock_wait_contended_writer(read_write_lock_t *rwlock)
{
    thread_yield();
}
void rwlock_wait_contended_writer ( read_write_lock_t * rwlock ) { thread_yield ( ) ; }
read_write_lock_t implementation doesn't expect the contention path
helpers to guarantee the lock is held (unlike mutexes) so simple
yields are still acceptable.
read_write_lock_t implementation doesn ' t expect the contention path helpers to guarantee the lock is held ( unlike mutexes ) so simple yields are still acceptable .