WSL2-Linux-Kernel/tools/testing/radix-tree/linux/preempt.h

5 строки
134 B
C

extern int preempt_count;
#define preempt_disable() uatomic_inc(&preempt_count)
#define preempt_enable() uatomic_dec(&preempt_count)