lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi.

I have a function, luaThread, that "lua_dofile", an argument_file.

This works with no problems, but when I run it multithreaded, 
each thread will open the argument_file.
I thought that interpreting a bufferf would be a lot faster.
Here is my question:
How can lua interpret a buffer that contains a lua script?


-- 
Regards, Groleo!

# touch universe
# chmod +rwx universe
# ./universe