cvs commit: src/sys/kern kern_intr.c subr_sleepqueue.c src/sys/geom geom_io.c src/sys/sys proc.h

Poul-Henning Kamp phk at
Thu Sep 15 14:30:32 PDT 2005

In message <4329E739.4070707 at>, Scott Long writes:

>Well, there is a subtle distinction here that isn't well understood. 
>Sleep mutexes "block", they don't "sleep". 

A good rule of thumb is that userland won't get to run while mutexes are
held, whereas userland may run while a thread is sleeping.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the cvs-src mailing list