DragonFly BSD
DragonFly commits List (threaded) for 2010-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - change tsleep related idents to const volatile void *


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Mar 2010 13:17:37 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]