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.

Resident scripts
#2
Resident script sleep time cannot be larger than 60 seconds. There's no point in using large delays because sleeping scripts still consume system memory. Resident scripts should be used for tasks like socket clients and servers, serial port data exchange etc.

Most examples use functions that suspend script until some data arrives or a timeout happens. This does not produce heavy system load.
Reply


Messages In This Thread
Resident scripts - by baggins - 26.06.2020, 15:23
RE: Resident scripts - by admin - 26.06.2020, 15:36

Forum Jump: