The timer needs IRQ and IO_PORT on platforms where it uses the PIT.
The example provides Timer::msleep() and the process' quota() to Lua code.
The Lua runtime library is built in two variants: ANSI C and C++. The C++ provides all Lua API function with C++ linkage and uses C++ exceptions instead of setjmp/longjmp for protected execution of Lua chunks. The ported version of Lua is 5.1.5.