| Function report | 
| Source Code: kernel\futex.c | Create Date:2022-07-28 10:54:33 | 
| Last Modify:2020-03-17 15:28:32 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:futex_wait
Proto:static int futex_wait(unsigned int __user *uaddr, unsigned int flags, unsigned int val, ktime_t *abs_time, unsigned int bitset)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int __user * | uaddr | |
| unsigned int | flags | |
| unsigned int | val | |
| ktime_t * | abs_time | |
| unsigned int | bitset | 
| 2792 | q = futex_q_init | 
| 2801 | retry : | 
| 2814 | ret = 0 | 
| 2816 | If Not queue_me() - Remove the futex_q from its futex_hash_bucket*@q: The futex_q to unqueue* The q->lock_ptr must not be held by the caller Then Go to out | 
| 2826 | If Not signal_pending(current process) Then Go to retry | 
| 2833 | restart = restart_block | 
| 2834 | fn = futex_wait_restart | 
| 2839 | flags = flags | FLAGS_HAS_TIMEOUT | 
| 2843 | out : | 
| 2844 | If to Then | 
| 2846 | destroy_hrtimer_on_stack( & timer) | 
| 2848 | Return ret | 
| Name | Describe | 
|---|---|
| futex_wait_restart | |
| 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 |