Thread_Control *_Scheduler_priority_SMP_Ask_for_help( const Scheduler_Control *scheduler, Thread_Control *offers_help, Thread_Control *needs_help ) { Scheduler_Context *context = _Scheduler_Get_context( scheduler ); return _Scheduler_SMP_Ask_for_help( context, offers_help, needs_help, _Scheduler_priority_SMP_Enqueue_fifo ); }
Thread_Control *_Scheduler_priority_affinity_SMP_Ask_for_help( const Scheduler_Control *scheduler, Thread_Control *offers_help, Thread_Control *needs_help ) { Scheduler_Context *context = _Scheduler_Get_context( scheduler ); needs_help = _Scheduler_SMP_Ask_for_help( context, offers_help, needs_help, _Scheduler_priority_affinity_SMP_Enqueue_fifo ); _Scheduler_priority_affinity_SMP_Check_for_migrations( context ); return needs_help; }