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

Matthew Dillon dillon at
Sat May 27 11:18:33 PDT 2006

:Matthew Dillon wrote:
:>   Log:
:>   Implement msleep()...
:>   Requested-by: Numerous people, and its time has come now.
:The technical details are beyond me, but that comment
:caught my attention.  Can you explain in lay terms why
:this is important enough that people would ask for it?

    It just hides the internals of interlocking a spinlock and a tsleep
    cal.  It's about four lines of code, but it's rather messy to repeat
    it over and over again in all the places where such an interlock is

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Commits mailing list