xref: /netbsd-src/lib/librumpuser/README.compileopts (revision 0ae90b729a296d05c011585611f746e925cedb51)
1        $NetBSD: README.compileopts,v 1.3 2023/07/05 16:40:33 lukem Exp $
2
3This file describes compile-time options (make variables) for
4the rumpuser POSIX implementation.
5
6Additionally, NetBSD build options will have an effect; see mk.conf(5)
7and src/share/mk/bsd.README for a description of NetBSD build options.
8
9Note: after changing an option, do a clean build.
10
11Global options:
12
13    RUMPUSER_THREADS
14
15values: pthread/none/fiber or <undefined>
16defval: <undefined>
17effect: Define the way threading is implemented in the rumpuser hypercall
18	implementation.
19	<undefined> - use default implementation (currently "pthread")
20	pthread     - use pthreads to implement threading
21	none        - do not support kernel threads at all
22	fiber       - user a fiber interface, cooperatively scheduled contexts
23