Changeset 29e7cc7 in mainline for kernel/generic/include/synch/semaphore.h
- Timestamp:
- 2025-04-18T15:14:10Z (3 months ago)
- Children:
- e77c3ed
- Parents:
- 800d188 (diff), 25fdb2d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/semaphore.h
r800d188 r29e7cc7 45 45 } semaphore_t; 46 46 47 #define SEMAPHORE_INITIALIZER(name, count) (semaphore_t) { \ 48 .wq = WAITQ_INITIALIZER_WITH_COUNT((name).wq, count), \ 49 } 50 51 #define SEMAPHORE_INITIALIZE(name, count) \ 52 semaphore_t name = SEMAPHORE_INITIALIZER(name, count) 53 47 54 extern void semaphore_initialize(semaphore_t *, int); 48 55 extern errno_t semaphore_down_timeout(semaphore_t *, uint32_t);
Note:
See TracChangeset
for help on using the changeset viewer.