Unlock mutexes on process death

This commit is contained in:
2026-01-29 01:38:44 +01:00
parent 388418a718
commit fdda2e2df8
4 changed files with 39 additions and 0 deletions

View File

@@ -18,5 +18,6 @@ struct proc_mutex {
void proc_cleanup_resource_mutex (struct proc_resource* resource);
void proc_mutex_lock (struct proc* proc, struct proc_mutex* mutex);
bool proc_mutex_unlock (struct proc* proc, struct proc_mutex* mutex);
void proc_mutexes_cleanup (struct proc* proc);
#endif // _KERNEL_PROC_MUTEX_H