Are named posix semaphores not implemented?

Ivan Voras ivoras at freebsd.org
Wed May 13 12:42:25 UTC 2009


Lothar Scholz wrote:
> Hello pluknet,
> 
> 
> p> First, you should have sem(4) capacity enabled in kernel
> p> (via kldload or statically built). It seems you haven't.
> 
> Yes - but it was a total fresh PC-BSD build.

For future troubleshooting, you should get used to reading the man pages
- sem(4) describes how to enable it.

> I must say that i really don't like this start off with
> anything disabled. They will never get a good desktop os
> if the user can't run simple programs without the need to
> learn about kernel modules.

They are disabled by default because they don't get much use -
apparently it's not a very popular API. If you make a good case for its
inclusion (reference large or popular projects that use it), there is
probably no reason not to include it by default. The sem.ko loadable
module is something like 20 kB in size.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20090513/fbd2de66/signature.pgp


More information about the freebsd-arch mailing list