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

cvs commit: src/sys/sys systm.h src/sys/kern kern_synch.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Mar 2008 04:44:43 -0800 (PST)

sephe       2008/03/05 04:44:43 PST

DragonFly src repository

  Modified files:
    sys/sys              systm.h 
    sys/kern             kern_synch.c 
  Log:
  Add serialize_sleep(), which will atomically release the serializer
  currently being held and tsleep on the ident, then reacquire the
  serializer upon function returning.
  
  Proper function name is suggeested by corecode@, aggelos@, tgen@ and
  dillon@
  
  Reviewed-by: tgen@, dillon@
  
  Revision  Changes    Path
  1.78      +3 -0      src/sys/sys/systm.h
  1.89      +25 -0     src/sys/kern/kern_synch.c


http://www.dragonflybsd.org/cvsweb/src/sys/sys/systm.h.diff?r1=1.77&r2=1.78&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_synch.c.diff?r1=1.88&r2=1.89&f=u



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