Need help for scheduler mechanism about immigrating from nrf5-sdk to ncs bare metal.

My original project contains scheduler mechanism based on nRF5_SDK_17.0.2_d674dde\components\libraries\scheduler\app_scheduler.c. In ncs bare metal v2.0.1, I find the correspond part is \ncs\nrf-bm\v2.0.1\nrf-bm\lib\bm_scheduler\bm_scheduler.c. But it's hardly for me to understand codes' logic, for example, SYS_INIT(bm_scheduler_init, APPLICATION, 0) etc. Is there any document describing the new schedule logic? Would any expert help me? Thanks.

Related