Changeset 597fa24 in mainline for kernel/generic/src/synch/mutex.c
- Timestamp:
- 2025-04-09T16:19:40Z (6 days ago)
- Branches:
- master
- Children:
- 9f945464, a188131
- Parents:
- 3e7948c
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-09 16:08:09)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-09 16:19:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/mutex.c
r3e7948c r597fa24 53 53 void mutex_initialize(mutex_t *mtx, mutex_type_t type) 54 54 { 55 mtx->type = type; 56 mtx->owner = NULL; 57 mtx->nesting = 0; 58 semaphore_initialize(&mtx->sem, 1); 55 *mtx = MUTEX_INITIALIZER(*mtx, type); 59 56 } 60 57
Note:
See TracChangeset
for help on using the changeset viewer.