18.11.2020, 19:57
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.
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.