Function report |
Source Code:kernel\sched\completion.c |
Create Date:2022-07-28 09:41:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ry_wait_for_completion - try to decrement a completion without blocking*@x: completion structure* Return: 0 if a decrement cannot be done without blocking* 1 if a decrement succeeded.* If a completion is being used as a counting completion,
Proto:bool try_wait_for_completion(struct completion *x)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct completion * | x |
283 | bool ret = true |
294 | spin_lock_irqsave( & lock, flags) |
299 | spin_unlock_irqrestore( & lock, flags) |
300 | Return ret |
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 |