6 return pthread_rwlock_init(&sem->
lock, NULL);
11 return pthread_rwlock_destroy(&sem->
lock);
int up_write(struct rw_semaphore *sem)
int down_read(struct rw_semaphore *sem)
int exit_rwsem(struct rw_semaphore *sem)
int init_rwsem(struct rw_semaphore *sem)
int down_write(struct rw_semaphore *sem)
int up_read(struct rw_semaphore *sem)