On Sun, Sep 28, 2003 at 09:13:35PM +0200, Niclas Olofsson wrote: > Don't you have any sort of thread-support in the ion code you can use. > The idea here is to provide lua scripters with a worker-thread run by > ion core, not by lua itself. It would look like something like this in lua:
I'm not sure if thread support is of much help, actually. Lua's virtual machine is not re-entrant so whole access to it must be locked (this is what the compile-time option does in the API) and the worker thread could still prevent the main thread from doing much unless some awful count hook kludge could be used to get around it... -- Tuomo
