Function report |
Source Code:kernel\locking\rtmutex.c |
Create Date:2022-07-28 09:52:14 |
| Last Modify:2020-03-17 14:26:38 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Remove the top waiter from the current tasks pi waiter tree and* queue it up.* Called with lock->wait_lock held and interrupts disabled.
Proto:static void mark_wakeup_next_waiter(struct wake_q_head *wake_q, struct rt_mutex *lock)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct wake_q_head * | wake_q | |
| struct rt_mutex * | lock |
| 1022 | raw_spin_lock( & pi_lock) |
| 1024 | waiter = rt_mutex_top_waiter(lock) |
| 1044 | owner = lock->owner state tracking: |
| 1058 | raw_spin_unlock( & pi_lock) |
| Name | Describe |
|---|---|
| rt_mutex_slowunlock | Slow path to release a rt-mutex.* Return whether the current task needs to call rt_mutex_postunlock(). |
| __rt_mutex_futex_unlock | Futex variant, that since futex variants do not use the fast-path, can be* simple and will not need to retry. |
| 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 |