This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Lua variables visibility and events management
#3
Thank you for an answer, Admin.
It is true, that each event is a new OS process? I mean that same event source creates new process (threat) to execute event script.
If is true it means that there is possibility to get running several scripts simultaneously from same event. For example, script calls os.sleep(1000) method. If event will occurs two times per second (somebody turn switcher on and off quickly) then second instance of the script will starts while first script still was no finished. Am I correct?

PS. Actually I am more familiar with C/C++, so some script concepts are not clear for me.
Reply


Messages In This Thread
RE: Lua variables visibility and events management - by Andey - 18.11.2020, 19:57

Forum Jump: