xref: /netbsd-src/lib/librumpuser/README.compileopts (revision 0ae90b729a296d05c011585611f746e925cedb51)
1*0ae90b72Slukem        $NetBSD: README.compileopts,v 1.3 2023/07/05 16:40:33 lukem Exp $
29331c560Spooka
39331c560SpookaThis file describes compile-time options (make variables) for
49331c560Spookathe rumpuser POSIX implementation.
59331c560Spooka
6*0ae90b72SlukemAdditionally, NetBSD build options will have an effect; see mk.conf(5)
7*0ae90b72Slukemand src/share/mk/bsd.README for a description of NetBSD build options.
8*0ae90b72Slukem
99331c560SpookaNote: after changing an option, do a clean build.
109331c560Spooka
119331c560SpookaGlobal options:
129331c560Spooka
139331c560Spooka    RUMPUSER_THREADS
149331c560Spooka
159331c560Spookavalues: pthread/none/fiber or <undefined>
169331c560Spookadefval: <undefined>
179331c560Spookaeffect: Define the way threading is implemented in the rumpuser hypercall
18f09c75afSandvar	implementation.
199331c560Spooka	<undefined> - use default implementation (currently "pthread")
209331c560Spooka	pthread     - use pthreads to implement threading
219331c560Spooka	none        - do not support kernel threads at all
229331c560Spooka	fiber       - user a fiber interface, cooperatively scheduled contexts
23