OpenGrok
Cross Reference: subr_once.c
xref
: /
src
/
sys
/
kern
/
subr_once.c
Home
|
History
|
Annotate
|
Download
|
only in
kern
History log of
/src/sys/kern/subr_once.c
Revision
Date
Author
Comments
1.7
19-Mar-2019
ryo
add INIT_ONCE(9), FINI_ONCE(9) with changing once_t.
Welcome to 8.99.36
1.6
15-Mar-2009
cegger
branches: 1.6.64;
ansify function definitions
1.5
09-Oct-2008
pooka
branches: 1.5.2; 1.5.8;
Atomic ops are unnecessary here. pointed out by ad
1.4
09-Oct-2008
pooka
Rewrite once to use global locks and atomic ops to get rid of the
static simplelock initializer (and simplelock too). The fastpath
is still lockless, so doesn't make a difference in terms of
performance.
Also fixes a hanging bug if the once routine returned an error.
It does not retry after an error occurs, as I can't really imagine
fruitful semantics for that.
1.3
16-Jan-2006
yamt
branches: 1.3.16; 1.3.70; 1.3.74; 1.3.76; 1.3.80;
- tweak RUN_ONCE api to allow init_func returns an error.
- physio: handle failure of workqueue_create.
1.2
11-Dec-2005
christos
branches: 1.2.2;
merge ktrace-lwp.
1.1
29-Oct-2005
yamt
branches: 1.1.2; 1.1.4;
add something like pthread_once().
1.1.4.2
10-Nov-2005
skrll
Sync with HEAD. Here we go again...
1.1.4.1
29-Oct-2005
skrll
file subr_once.c was added on branch ktrace-lwp on 2005-11-10 14:09:45 +0000
1.1.2.2
02-Nov-2005
yamt
sync with head.
1.1.2.1
29-Oct-2005
yamt
file subr_once.c was added on branch yamt-vop on 2005-11-02 11:58:11 +0000
1.2.2.1
01-Feb-2006
yamt
sync with head.
1.3.80.1
19-Oct-2008
haad
Sync with HEAD.
1.3.76.1
10-Oct-2008
skrll
Sync with HEAD.
1.3.74.1
04-May-2009
yamt
sync with head.
1.3.70.1
17-Jan-2009
mjf
Sync with HEAD.
1.3.16.2
21-Jun-2006
yamt
sync with head.
1.3.16.1
16-Jan-2006
yamt
file subr_once.c was added on branch yamt-lazymbuf on 2006-06-21 15:09:38 +0000
1.5.8.1
13-May-2009
jym
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
1.5.2.1
28-Apr-2009
skrll
Sync with HEAD.
1.6.64.1
10-Jun-2019
christos
Sync with HEAD
Indexes created Mon Sep 29 21:09:56 GMT 2025