File: filelock.h

package info (click to toggle)
fio 3.12-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,488 kB
  • sloc: ansic: 65,165; sh: 3,284; python: 1,978; makefile: 657; yacc: 204; lex: 184
file content (13 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef FIO_LOCK_FILE_H
#define FIO_LOCK_FILE_H

#include "lib/types.h"

extern void fio_lock_file(const char *);
extern bool 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