kernel: add rt_critical_level that return the lock count of scheduler
Out side world may be interested in whether the scheduler is locked or not. Provide an API to tell that.
Showing
想要评论请 注册 或 登录
Out side world may be interested in whether the scheduler is locked or not. Provide an API to tell that.