| Function report | 
| Source Code: arch\x86\include\asm\preempt.h | Create Date:2022-07-28 05:35:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Returns true when we need to resched and can (barring IRQ state).
Proto:static __always_inline bool should_resched(int preempt_offset)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | preempt_offset | 
| 102 | Return Value for the false possibility is greater at compile time(raw_cpu_read_4(__preempt_count) == preempt_offset) | 
| Name | Describe | 
|---|---|
| _cond_resched | |
| __cond_resched_lock | __cond_resched_lock() - if a reschedule is pending, drop the given lock,* call schedule, and on return reacquire the lock | 
| 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 |