cregit-Linux how code gets into the kernel

Release 4.18 tools/perf/util/rwsem.h

Directory: tools/perf/util
#ifndef _PERF_RWSEM_H

#define _PERF_RWSEM_H

#include <pthread.h>


struct rw_semaphore {
	
pthread_rwlock_t lock;
};

int init_rwsem(struct rw_semaphore *sem);
int exit_rwsem(struct rw_semaphore *sem);

int down_read(struct rw_semaphore *sem);
int up_read(struct rw_semaphore *sem);

int down_write(struct rw_semaphore *sem);
int up_write(struct rw_semaphore *sem);

#endif /* _PERF_RWSEM_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Arnaldo Carvalho de Melo74100.00%1100.00%
Total74100.00%1100.00%
Directory: tools/perf/util
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.