Changeset 29e7cc7 in mainline for kernel/generic/src/synch/semaphore.c
- Timestamp:
- 2025-04-18T15:14:10Z (2 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/src/synch/semaphore.c
r800d188 r29e7cc7 52 52 void semaphore_initialize(semaphore_t *sem, int val) 53 53 { 54 waitq_initialize_with_count(&sem->wq, val);54 *sem = SEMAPHORE_INITIALIZER(*sem, val); 55 55 } 56 56
Note:
See TracChangeset
for help on using the changeset viewer.