lua-users home
lua-l archive

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


Peter,

Thank you for your advice. I had a vague idea of what I wanted to do,
but your example gives me good idea of how to actually do it.

I could possibly use the environment to move the handler to the new
thread, but that's not much different from using the registry.
Actually, the registry is probably better because it hides the handler
from global scope.

Anyway, I think I'll try this approach (using the registry) and see
how it works.

-- Tim