Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
rcu.h
Go to the documentation of this file.
1#ifndef __VFS__RCU_H__
2#define __VFS__RCU_H__
3
4#include <type.h>
5
6struct rcu_head {
7 struct rcu_head* next; // rantai callback internal RCU
8 void (*func)(
9 struct rcu_head*); // fungsi yang dipanggil setelah grace period
10};
11
12void call_rcu(struct rcu_head* head, void (*func)(struct rcu_head*));
13
14#endif // __VFS__RCU_H__
void call_rcu(struct rcu_head *head, void(*func)(struct rcu_head *))
Definition rcu.c:3
Definition rcu.h:6
void(* func)(struct rcu_head *)
Definition rcu.h:8
struct rcu_head * next
Definition rcu.h:7
uint32_t head
Definition tty.h:10