Function report |
Source Code:include\linux\sched.h |
Create Date:2022-07-28 05:59:47 |
Last Modify:2021-07-28 10:30:23 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:test_tsk_need_resched
Proto:static inline int test_tsk_need_resched(struct task_struct *tsk)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk |
1772 | Return Value for the false possibility is greater at compile time(test_tsk_thread_flag(tsk, scheduling necessary )) |
Name | Describe |
---|---|
resched_curr | sched_curr - mark rq's current task 'to be rescheduled now'.* On UP this means the setting of the need_resched flag, on SMP it* might also involve a cross-CPU call to trigger the scheduler on* the target CPU. |
check_preempt_curr | |
check_preempt_wakeup | Preempt the current task with a newly woken task if needed: |
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 |