看板 DFBSD_commit 關於我們 聯絡資訊
commit a471eac535f632f45345fec35628581b8931e2b1 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Dec 7 18:44:15 2011 -0800 kernel - Fix alarm() timer race against exit * Stop the callout synchronously to ensure that any pending alarm timeout is completely removed before we allow a process to exit. * Add a required PHOLD() to the relaitexpire() function. Summary of changes: sys/kern/kern_exit.c | 2 +- sys/kern/kern_time.c | 11 ++++++----- sys/kern/kern_timeout.c | 10 ++++++++-- 3 files changed, 15 insertions(+), 8 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a471eac535f632f45345fec35628581b8931e2b1 -- DragonFly BSD source repository