diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-11-23 02:57:01 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-11-23 02:57:01 +0100 |
commit | 5d8116626e131b26c25bce6173badfd78ce36786 (patch) | |
tree | da353fae2897b19f7a18dd3d89f40fdbd7511497 /misc | |
parent | fc2d59d2bd8d51f507fc470636f691f513f87d46 (diff) | |
parent | 9d059c9125f57f74dacace051f0568a833ab1d0e (diff) |
Merge branch 't/WRLCK-upgrade' into refs/top-bases/tschwinge/Roger_Whittaker
Diffstat (limited to 'misc')
-rw-r--r-- | misc/sys/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/sys/file.h b/misc/sys/file.h index 64e8764c47..a5892db17c 100644 --- a/misc/sys/file.h +++ b/misc/sys/file.h @@ -40,6 +40,7 @@ __BEGIN_DECLS #define LOCK_SH 1 /* Shared lock. */ #define LOCK_EX 2 /* Exclusive lock. */ #define LOCK_UN 8 /* Unlock. */ +#define __LOCK_ATOMIC 16 /* Atomic update. */ /* Can be OR'd in to one of the above. */ #define LOCK_NB 4 /* Don't block when locking. */ |