Changeset 897fd8f1 in mainline for kernel/generic/include/synch/semaphore.h
- Timestamp:
- 2017-12-19T18:18:15Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 55b56f4
- Parents:
- 7f11dc6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/semaphore.h
r7f11dc6 r897fd8f1 36 36 #define KERN_SEMAPHORE_H_ 37 37 38 #include <errno.h> 38 39 #include <stdint.h> 39 40 #include <synch/waitq.h> … … 54 55 55 56 #define semaphore_down_interruptable(s) \ 56 ( ESYNCH_INTERRUPTED !=_semaphore_down_timeout((s), SYNCH_NO_TIMEOUT, \57 SYNCH_FLAGS_INTERRUPTIBLE) )57 (_semaphore_down_timeout((s), SYNCH_NO_TIMEOUT, \ 58 SYNCH_FLAGS_INTERRUPTIBLE) != EINTR) 58 59 59 60 extern void semaphore_initialize(semaphore_t *, int);
Note:
See TracChangeset
for help on using the changeset viewer.