Function report |
Source Code:kernel\locking\mutex.c |
Create Date:2022-07-28 09:47:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__ww_mutex_kill
Proto:static __always_inline int __sched __ww_mutex_kill(struct mutex *lock, struct ww_acquire_ctx *ww_ctx)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mutex * | lock | |
struct ww_acquire_ctx * | ww_ctx |
778 | If acquired > 0 Then |
786 | Return -EDEADLK |
789 | Return 0 |
Name | Describe |
---|---|
__ww_mutex_check_kill | Check the wound condition for the current lock acquire |
__ww_mutex_add_waiter | Add @waiter to the wait-list, keep the wait-list ordered by stamp, smallest* first |
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 |