HelenOS sources

PREEMPTION_DISABLED   44 kernel/generic/include/preemption.h #define PREEMPTION_ENABLED     (!PREEMPTION_DISABLED)
PREEMPTION_DISABLED   56 kernel/generic/include/preemption.h 		assert(PREEMPTION_DISABLED); \
PREEMPTION_DISABLED  133 kernel/generic/src/synch/waitq.c 	assert((!PREEMPTION_DISABLED) || (PARAM_NON_BLOCKING(flags, usec)));
HelenOS homepage, sources at GitHub