1
This directory contains a reentrant version of the trampoline package.
3
Instead of clobbering a global variable, a pointer to data0,data1,...
4
is passed to the called function in a special CPU register.
6
The number of supported data words (data0,data1) is arbitrary; 3 or 4
7
or more would work as well if trampoline.c was modified appropriately.
8
Two words are needed, however, for passing closures through vacall_r
9
without an additional malloc() call per closure.
11
The include file <trampoline.h> is renamed to <trampoline_r.h>.