Voxia OS
v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
rcu.c
Go to the documentation of this file.
1
#include <
vfs/rcu.h
>
2
3
void
call_rcu
(
struct
rcu_head
*
head
,
void
(*func)(
struct
rcu_head
*)) {
4
head
->func = func;
5
// pthread_mutex_lock(&g_rcu_lock);
6
// head->next = g_pending;
7
// g_pending = head;
8
// pthread_mutex_unlock(&g_rcu_lock);
9
}
call_rcu
void call_rcu(struct rcu_head *head, void(*func)(struct rcu_head *))
Definition
rcu.c:3
rcu.h
rcu_head
Definition
rcu.h:6
head
uint32_t head
Definition
tty.h:10
kernel
vfs
rcu.c
Generated on Sat May 30 2026 11:09:57 for Voxia OS by
1.13.2