Commit 6dc2d96f 6dc2d96f5202a999e42d65f8dc0390fcc58e0635 by Sergey Poznyakoff

(MU_LOCKER_KERNEL): New locker type: implies kernel-locking.

1 parent 466363ab
...@@ -63,7 +63,9 @@ extern "C" { ...@@ -63,7 +63,9 @@ extern "C" {
63 #define MU_LOCKER_NULL 0x10 63 #define MU_LOCKER_NULL 0x10
64 /* Special locker type: means no lock. This is to be used with 64 /* Special locker type: means no lock. This is to be used with
65 temporary mailboxes stored in memory. */ 65 temporary mailboxes stored in memory. */
66 66 #define MU_LOCKER_KERNEL 0x20
67 /* Use kernel locking (flock, lockf or ioctl) */
68
67 #define MU_LOCKER_DEFAULT (MU_LOCKER_RETRY) 69 #define MU_LOCKER_DEFAULT (MU_LOCKER_RETRY)
68 70
69 extern int locker_create __P ((locker_t *, const char *filename, int flags)); 71 extern int locker_create __P ((locker_t *, const char *filename, int flags));
......