PatchworkOS
19e446b
A non-POSIX operating system.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
mtx_destroy.c
Go to the documentation of this file.
1
#include <
stdatomic.h
>
2
#include <
stdbool.h
>
3
#include <
stdio.h
>
4
#include <
sys/proc.h
>
5
#include <
threads.h
>
6
7
#include "
user/common/syscalls.h
"
8
#include "
user/common/threading.h
"
9
10
void
mtx_destroy
(
mtx_t
* mutex)
11
{
12
UNUSED
(mutex);
13
// Do nothing
14
}
UNUSED
#define UNUSED(x)
Mark a variable as unused.
Definition
defs.h:96
mtx_destroy
void mtx_destroy(mtx_t *mutex)
Definition
mtx_destroy.c:10
proc.h
stdatomic.h
stdbool.h
stdio.h
mtx_t
Definition
threads.h:52
syscalls.h
threading.h
threads.h
src
libstd
user
functions
thread
mtx_destroy.c
Generated on Sat Jan 24 2026 10:59:25 for PatchworkOS by
1.9.8