NetBSD/lib/librumpuser
kre 12f8bae508 If we're going to loop, pausing and then retrying malloc() after it
has failed, in the hope that some other thread has free'd some memory,
but we want to bound the number of attempts, it helps if we actually
count them - otherwise we never get nearer to the limit.

In practice, malloc() for a reasonable application on a modern system
almost never fails, so the code containing this bug has probably never
been, and never will be, executed, but just in case, someday.

For this, it isn't clear if the intent was to have 10 retries (ie: 11
attempts) or 10 tries, but as the code said "retries > 10", I am
assuming the former (not that it matters, if the malloc() has failed
10 times in a row, with 10 second pauses between, the chances of an
11th succeeding aren't great).
2020-03-24 14:56:31 +00:00
..
build-aux
configure
configure.ac
Makefile introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
README.compileopts
rumpfiber_bio.c
rumpfiber_sp.c
rumpfiber.c Distinguish spin mutex and adaptive mutex on rump kernels for LOCKDEBUG 2017-12-27 09:01:53 +00:00
rumpfiber.h
rumpuser_bio.c
rumpuser_component.c
rumpuser_component.h
rumpuser_config.h.in
rumpuser_daemonize.c
rumpuser_dl.c Teach rump to process __link_set_evcnts entries. (Second part of 2020-03-22 13:30:10 +00:00
rumpuser_errtrans.c
rumpuser_file.c
rumpuser_int.h
rumpuser_mem.c
rumpuser_port.h
rumpuser_pth_dummy.c Distinguish spin mutex and adaptive mutex on rump kernels for LOCKDEBUG 2017-12-27 09:01:53 +00:00
rumpuser_pth.c Distinguish spin mutex and adaptive mutex on rump kernels for LOCKDEBUG 2017-12-27 09:01:53 +00:00
rumpuser_random.c
rumpuser_sigtrans.c
rumpuser_sp.c If we're going to loop, pausing and then retrying malloc() after it 2020-03-24 14:56:31 +00:00
rumpuser.c
shlib_version
sp_common.c Fix off-by-one 2020-03-24 01:13:41 +00:00

        $NetBSD: README.compileopts,v 1.1 2016/01/25 00:24:23 pooka Exp $

This file describes compile-time options (make variables) for
the rumpuser POSIX implementation.

Note: after changing an option, do a clean build.

Global options:

    RUMPUSER_THREADS

values: pthread/none/fiber or <undefined>
defval: <undefined>
effect: Define the way threading is implemented in the rumpuser hypercall
	implmentation.
	<undefined> - use default implementation (currently "pthread")
	pthread     - use pthreads to implement threading
	none        - do not support kernel threads at all
	fiber       - user a fiber interface, cooperatively scheduled contexts