tech-kern archive

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

POSIX Semaphores



According to the man page sem(4), one needs to include "options P1003_1B_SEMAPHORE" in the kernel config file in order to support this feature. Yet, the file kern/uipc_sem.c is included unconditionally in all kernels, and there appears to be nothing in NetBSD anywhere that depends on P1003_1B_SEMAPHORE.

Most of the MODULAR-ization work has already been done (with only the actual building of the loadable module left), so I would like to propose that this feature be made conditional, as described in sem(4).

Any comments? Is P1003_1B_SEMAPHORE the best name for the kernel option, or would POSIX_SEMAPHORES be better, or some other option name? Should the module be made auto-loadable?

On a related topic, since sem is not actually a device driver, it does not seem appropriate that its man page belongs in section 4. Wouldn't it be more correct for this man page to reside in section 7?



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index