Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:36:57 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__cond_resched_lock() - if a reschedule is pending, drop the given lock,* call schedule, and on return reacquire the lock
Proto:int __cond_resched_lock(spinlock_t *lock)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
spinlock_t * | lock |
5647 | ret = 0 |
5649 | lockdep_assert_held(lock) |
5652 | spin_unlock(lock) |
5653 | If resched Then preempt_schedule_common() |
5655 | Else cpu_relax() |
5657 | ret = 1 |
5660 | Return ret |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |