Be a bit more explicit what happens when init_func fails.
After explanation from yamt@.
This commit is contained in:
parent
f3c03afe5a
commit
b3b44f7885
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: RUN_ONCE.9,v 1.4 2006/01/16 23:58:43 wiz Exp $
|
||||
.\" $NetBSD: RUN_ONCE.9,v 1.5 2006/01/17 00:14:16 wiz Exp $
|
||||
.\"
|
||||
.\" Copyright (c)2005 YAMAMOTO Takashi,
|
||||
.\" All rights reserved.
|
||||
@ -53,6 +53,9 @@ is executed (successfully) exactly once.
|
||||
It is considered as a successful execution if and only if
|
||||
.Fn init_func
|
||||
returned 0.
|
||||
As long as there was no successful execution,
|
||||
.Fn RUN_ONCE
|
||||
will try again each time it is called.
|
||||
.Pp
|
||||
.Fn RUN_ONCE
|
||||
can sleep if it's called concurrently.
|
||||
|
Loading…
Reference in New Issue
Block a user