Function report |
Source Code:kernel\locking\rwsem.c |
Create Date:2022-07-28 09:48:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The task_struct pointer of the last owning reader will be left in* the owner field.* Note that the owner value just indicates the task has owned the rwsem* previously, it may not be the real owner or one of the real owners
Proto:static inline void __rwsem_set_reader_owned(struct rw_semaphore *sem, struct task_struct *owner)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rw_semaphore * | sem | |
struct task_struct * | owner |
Name | Describe |
---|---|
rwsem_set_reader_owned | |
rwsem_mark_wake | handle the lock release when processes blocked on it that can now run* - if we come here from up_xxxx(), then the RWSEM_FLAG_WAITERS bit must* have been set |
down_read_non_owner |
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 |