artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40b2138
)
i forgot to convert timeout_proc_barrier to cond_signal
author
dlg
<dlg@openbsd.org>
Thu, 14 Dec 2017 02:42:18 +0000
(
02:42
+0000)
committer
dlg
<dlg@openbsd.org>
Thu, 14 Dec 2017 02:42:18 +0000
(
02:42
+0000)
sys/kern/kern_timeout.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_timeout.c
b/sys/kern/kern_timeout.c
index
757663e
..
e34dc6a
100644
(file)
--- a/
sys/kern/kern_timeout.c
+++ b/
sys/kern/kern_timeout.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_timeout.c,v 1.5
2 2017/12/14 00:45:16
dlg Exp $ */
+/* $OpenBSD: kern_timeout.c,v 1.5
3 2017/12/14 02:42:18
dlg Exp $ */
/*
* Copyright (c) 2001 Thomas Nordin <nordin@openbsd.org>
* Copyright (c) 2000-2001 Artur Grabowski <art@openbsd.org>
@@
-353,11
+353,9
@@
timeout_barrier(struct timeout *to)
void
timeout_proc_barrier(void *arg)
{
-
int *wait
= arg;
+
struct cond *c
= arg;
- *wait = 0;
-
- wakeup_one(wait);
+ cond_signal(c);
}
/*