add missing content to locking.9 ?

Ed Schouten ed at 80386.nl
Mon Jul 20 12:36:10 UTC 2009


Hi Benjamin,

* Benjamin Kaduk <kaduk at MIT.EDU> wrote:
> +.Tn POSIX
> +semaphores provide ...

it looks like you described the semaphores that are used in userspace.
The Semaphores section of the locking(9) man page should describe
in-kernel semaphores (kern_sema.c). They are implemented by a mutex and
a conditional variable.

Even though it's nice to have some utility functions in our kernel, I
always wondered why we have them. There isn't a lot of code in the tree
that uses them...

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090720/36247438/attachment.pgp


More information about the freebsd-hackers mailing list