Commit | Line | Data |
---|---|---|
243bfe19 JA |
1 | #ifndef FIO_LOCK_FILE_H |
2 | #define FIO_LOCK_FILE_H | |
3 | ||
375ac4fa JA |
4 | #include "lib/types.h" |
5 | ||
243bfe19 | 6 | extern void fio_lock_file(const char *); |
375ac4fa | 7 | extern bool fio_trylock_file(const char *); |
243bfe19 JA |
8 | extern void fio_unlock_file(const char *); |
9 | ||
10 | extern int fio_filelock_init(void); | |
11 | extern void fio_filelock_exit(void); | |
12 | ||
13 | #endif |