Function report |
Source Code:kernel\sched\sched.h |
Create Date:2022-07-28 05:59:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:double_rq_lock - safely lock two runqueues* Note this does not disable interrupts like task_rq_lock,* you need to do so manually before calling.
Proto:static inline void double_rq_lock(struct rq *rq1, struct rq *rq2)__acquires(rq1->lock) __acquires(rq2->lock)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rq * | rq1 | |
| struct rq * | rq2 |
| 2140 | BUG_ON(!Some architectures don't define arch_irqs_disabled(), so even if either* definition would be fine we need to use different ones for the time being* to avoid build issues.()) |
| 2142 | raw_spin_lock( & runqueue lock: ) |
| 2143 | __acquire( runqueue lock: ) |
| Name | Describe |
|---|---|
| yield_to | yield_to - yield the current processor to another thread in* your thread group, or accelerate that thread toward the* processor it's on |
| 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 |