看板 DFBSD_commit 關於我們 聯絡資訊
commit 5decebc7a6773aca01115e5daadfefbab2b1f566 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Mar 15 13:12:23 2010 -0700 kernel - change tsleep related idents to const volatile void * * There's no reason why pointers to const or volatiles can't be passed as the ident, and HAMMER does that now in some cases, so adjust the prototypes for *sleep() and *wakeup() to accomodate them. * Also make thread->td_wchan const volatile void * Summary of changes: sys/kern/kern_synch.c | 59 +++++++++++++++++++++++++++--------------------- sys/sys/systm.h | 28 +++++++++++----------- sys/sys/thread.h | 2 +- 3 files changed, 48 insertions(+), 41 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5decebc7a6773aca01115e5daadfefbab2b1f566 -- DragonFly BSD source repository