Skip to main content


scheduler_register — Registers a scheduler with the system


#include "scheduler.h"

| void **scheduler_register** ( | ascheduler); |   |

ec_scheduler_impl * <var class="pdparam">ascheduler</var>;



This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Registers a scheduler with the system.

If another scheduler with the same name is already registered, this function will replace the existing scheduler.

For ABI safety, the scheduler implementation structure should be initialized using the EC_SCHEDULER_INIT macro as follows:

ec_scheduler_impl my_sched = {

This function merely registers the scheduler implementation; it does not affect the Scheduler option, other than providing or replacing named scheduler implementations.

Was this page helpful?