Searched refs:done (Results 1 – 5 of 5) sorted by relevance
33 if inner.done == 0 { in do_wait_for_common()50 if inner.done != 0 || timeout <= 0 { in do_wait_for_common()55 if inner.done == 0 { in do_wait_for_common()60 if inner.done != COMPLETE_ALL { in do_wait_for_common()61 inner.done -= 1; in do_wait_for_common()94 if inner.done != COMPLETE_ALL { in complete()95 inner.done = inner.done.saturating_add(1); in complete()104 inner.done = COMPLETE_ALL; in complete_all()115 if inner.done == 0 { in try_wait_for_completion()119 if inner.done != 0 { in try_wait_for_completion()[all …]
199 | completion_done(struct completion *x) | 查询completion的done变量是不是大于0,如果大于0,返回true;否则返回fal…200 … | 查询completion的done变量是不是大于0,如果大于0,返回true(同时令done-=1);否则返回false。在等待前加上这个函数有可能加速?(该函数和`completion…
18 done: bool, field51 done: false, in new()143 if self.done { in next()152 self.done = true; in next()
1938 * 对 complete 系列方法上锁,保护 done 数据并发安全
648 * The interaction with maps is done through the use of specific helpers, so