Files
zinnia/kernel/include/kernel/mutex.h
T
2026-07-15 22:09:13 +02:00

12 lines
164 B
C

#pragma once
struct task;
struct mutex {
struct task* owner;
bool flag;
};
void mutex_lock(struct mutex* mutex);
void mutex_unlock(struct mutex* mutex);