-#if CONFIG_KERN_PREEMPT
- /**
- * Preemptive scheduler public methods.
- */
- #define preempt_yield proc_yield
- #define preempt_needPreempt proc_needPreempt
- #define preempt_preempt proc_preempt
- /**
- * Preemptive scheduler: private methods.
- */
- #define preempt_switch proc_switch
-#else
- /**
- * Co-operative scheduler: public methods.
- */
- #define coop_yield proc_yield
- #define proc_needPreempt __proc_noop
- #define proc_preempt __proc_noop
- /**
- * Co-operative scheduler: private methods.
- */
- #define coop_switch proc_switch