Commit f431ce70 f431ce70b0bd464dd5c9c37f2958ce93ad7d616c by Sergey Poznyakoff

New flag MU_LOCKER_NULL to be used for temporary mailboxes stored in memory.

1 parent 944cf4ad
...@@ -34,6 +34,9 @@ extern "C" { ...@@ -34,6 +34,9 @@ extern "C" {
34 34
35 /* locker_create() flags */ 35 /* locker_create() flags */
36 36
37 #define MU_LOCKER_NULL 0
38 /* Special locker type: means no lock. This is to be used with
39 temporary mailboxes stored in memory. */
37 #define MU_LOCKER_RETRY 0x01 40 #define MU_LOCKER_RETRY 0x01
38 /* This requests that we loop retries times, sleeping retry_sleep 41 /* This requests that we loop retries times, sleeping retry_sleep
39 seconds in between trying to obtain the lock before failing with 42 seconds in between trying to obtain the lock before failing with
......