projects
/
fio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add list_del_init() to list.h
[fio.git]
/
sem.h
1
#ifndef FIO_SEM_H
2
#define FIO_SEM_H
3
4
#include <semaphore.h>
5
6
struct fio_sem {
7
sem_t sem;
8
int sem_val;
9
};
10
11
extern struct fio_sem *fio_sem_init(int);
12
extern void fio_sem_remove(struct fio_sem *);
13
extern void fio_sem_down(struct fio_sem *);
14
extern void fio_sem_up(struct fio_sem *);
15
16
#endif