New flag MU_LOCKER_NULL to be used for temporary mailboxes stored in memory.
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment