lua-users home
lua-l archive

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


----- Original Message -----
> What are people using multiple states for?
> Is it typically for threads?

Yeah.. I'm using it for threads .. uCore relys heavily on thread... Each
window is a thread - the server module have several threads and in each
thread there is a state..  Another thing is to have sercure areas - I have a
special state that only has a few function registered that I'm using to
process user input (So that they can type an expression in a field - but not
call tons'o functions that would compromise security).

/Erik