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
3void 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}
void call_rcu(struct rcu_head *head, void(*func)(struct rcu_head *))
Definition rcu.c:3
Definition rcu.h:6
uint32_t head
Definition tty.h:10