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.

How to share file descriptor between scripts
#4
Yes, I meant sharing access to the same RS-485 port between several scripts. Currently it's done as you wrote. Opening/closing the same file every time the script run seems to be excessively, but if there is no ability to open file once from the init process and them share descriptor to the all childs, question is eliminated

Thank you for answer!
Reply


Messages In This Thread
RE: How to share file descriptor between scripts - by 4poker - 11.03.2016, 08:40

Forum Jump: