Function report |
Source Code:kernel\futex.c |
Create Date:2022-07-28 10:53:57 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Wake up waiters matching bitset queued on this futex (uaddr).
Proto:static int futex_wake(unsigned int __user *uaddr, unsigned int flags, int nr_wake, unsigned int bitset)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int __user * | uaddr | |
unsigned int | flags | |
int | nr_wake | |
unsigned int | bitset |
1660 | key = FUTEX_KEY_INIT |
1668 | If Value for the false possibility is greater at compile time(ret != 0) Then Go to out |
1674 | If Not hb_waiters_pending(hb) Then Go to out_put_key |
1696 | spin_unlock( & lock) |
1698 | out_put_key : |
1699 | put_futex_key( & key) |
1700 | out : |
1701 | Return ret |
Name | Describe |
---|---|
handle_futex_death | Process a futex-list entry, check whether it's owned by the* dying task, and do notification if so: |
do_futex |
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 |