File: filelock.h

package info (click to toggle)
fio 2.1.11-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,712 kB
  • ctags: 5,643
  • sloc: ansic: 44,396; sh: 1,489; python: 400; makefile: 342
file content (11 lines) | stat: -rw-r--r-- 258 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#ifndef FIO_LOCK_FILE_H
#define FIO_LOCK_FILE_H

extern void fio_lock_file(const char *);
extern int fio_trylock_file(const char *);
extern void fio_unlock_file(const char *);

extern int fio_filelock_init(void);
extern void fio_filelock_exit(void);

#endif