Multi-Level Scheduler Legacy CPU and Sync Interfaces
The multi-level scheduler (MLS) C API has been split in TEMU 5.1:
-
temu-c/Scheduler/MultiLevelScheduler.hcontains the stable API. -
temu-c/Scheduler/MultiLevelSchedulerUnstable.hcontains API that may change between releases, as well as the deprecated API listed below.
The following parts of the API are deprecated:
-
temu_CpuSchedIface,temu_CpuResultandtemu_schedAddCpu(). Register a CPU object withtemu_schedAddLeaf()instead. -
temu_SyncIfaceandtemu_schedSetSyncCallbacks(). Subscribe to theTEMU_NOTIFICATION_SCHED_CORE_SYNCandTEMU_NOTIFICATION_SCHED_OUTER_SYNCnotifications instead.
Use of the deprecated declarations produces compiler warnings.
Define TEMU_ALLOW_DEPRECATED before including the TEMU headers
to silence them.