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

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 15 13:18:02 PDT 2010


commit 5decebc7a6773aca01115e5daadfefbab2b1f566
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list