git: kernel - change tsleep related idents to const volatile voi

看板DFBSD_commit作者時間16年前 (2010/03/16 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Bdfb5_A (DFBSD_commit)