Rev 410 | Rev 430 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 410 | Rev 411 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | */ |
27 | */ |
28 | 28 | ||
29 | #ifndef __SYNCH_H__ |
29 | #ifndef __SYNCH_H__ |
30 | #define __SYNCH_H__ |
30 | #define __SYNCH_H__ |
31 | 31 | ||
32 | #define SYNCH_NO_TIMEOUT 0 /**< No timeout is request. */ |
32 | #define SYNCH_NO_TIMEOUT 0 /**< Request with no timeout. */ |
33 | #define SYNCH_BLOCKING 0 /**< Blocking operation request. */ |
33 | #define SYNCH_BLOCKING 0 /**< Blocking operation request. */ |
34 | #define SYNCH_NON_BLOCKING 1 /**< Non-blocking operation request. */ |
34 | #define SYNCH_NON_BLOCKING 1 /**< Non-blocking operation request. */ |
35 | 35 | ||
36 | #define ESYNCH_WOULD_BLOCK 1 /**< Could not satisfy the request without going to sleep. */ |
36 | #define ESYNCH_WOULD_BLOCK 1 /**< Could not satisfy the request without going to sleep. */ |
37 | #define ESYNCH_TIMEOUT 2 /**< Timeout occurred. */ |
37 | #define ESYNCH_TIMEOUT 2 /**< Timeout occurred. */ |