MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_scheduler_ipi_handler

Function rt_scheduler_ipi_handler

src/scheduler_mp.c:549–552  ·  view source on GitHub ↗

* @brief This function will handle IPI interrupt and do a scheduling in system. * * This function should be invoke or register as ISR in BSP. * * @param vector The number of IPI interrupt for system scheduling. * * @param param Not used, and can be set to RT_NULL. * * @note This function only has MP version. */

Source from the content-addressed store, hash-verified

547 * @note This function only has MP version.
548 */
549void rt_scheduler_ipi_handler(int vector, void *param)
550{
551 rt_schedule();
552}
553
554/**
555 * @brief Lock the system scheduler

Callers 1

ipi_handlerFunction · 0.85

Calls 1

rt_scheduleFunction · 0.70

Tested by

no test coverage detected