From: dlg Date: Thu, 14 Dec 2017 02:42:18 +0000 (+0000) Subject: i forgot to convert timeout_proc_barrier to cond_signal X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=671f325843c625391c74f6267efaacd699652226;p=openbsd i forgot to convert timeout_proc_barrier to cond_signal --- diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index 757663ebd8a..e34dc6aaf08 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_timeout.c,v 1.52 2017/12/14 00:45:16 dlg Exp $ */ +/* $OpenBSD: kern_timeout.c,v 1.53 2017/12/14 02:42:18 dlg Exp $ */ /* * Copyright (c) 2001 Thomas Nordin * Copyright (c) 2000-2001 Artur Grabowski @@ -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); } /*