Changes in abi/include/abi/synch.h [897fd8f1:6c5fc8e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abi/include/abi/synch.h
r897fd8f1 r6c5fc8e 46 46 #define SYNCH_FLAGS_INTERRUPTIBLE (1 << 1) 47 47 48 /** Could not satisfy the request without going to sleep. */ 49 #define ESYNCH_WOULD_BLOCK 1 50 /** Timeout occurred. */ 51 #define ESYNCH_TIMEOUT 2 52 /** Sleep was interrupted. */ 53 #define ESYNCH_INTERRUPTED 4 54 /** Operation succeeded without sleeping. */ 55 #define ESYNCH_OK_ATOMIC 8 56 /** Operation succeeded and did sleep. */ 57 #define ESYNCH_OK_BLOCKED 16 58 59 #define SYNCH_FAILED(rc) \ 60 ((rc) & (ESYNCH_WOULD_BLOCK | ESYNCH_TIMEOUT | ESYNCH_INTERRUPTED)) 61 62 #define SYNCH_OK(rc) \ 63 ((rc) & (ESYNCH_OK_ATOMIC | ESYNCH_OK_BLOCKED)) 64 48 65 #endif 49 66
Note:
See TracChangeset
for help on using the changeset viewer.