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

Re: ssleep() (was Re: mention msleep() in porting_drivers.txt)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Jan 2008 12:16:41 -0800 (PST)

:Now that I think about it, our msleep() is misnamed --- it should have
:been called ssleep().  There's no "m" about it.  Any objections to changing it?
:
:								Jeffrey

    If we're gonna start throwing around different types of sleeps maybe
    we should make the names more verbose. spin_sleep(), lockmgr_sleep(),
    etc.  We don't use them so often that they'll clutter up the code and
    the longer names will make the code more readable.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



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