The actions you mention do not block the thread.
In that case using sockets is a bad idea at all. So is using a non-RT operating system. It can always happen that your application gets frozen by the operating system for a number of miliseconds. Threads will not help in any way here. Time critical conditions need real time operating systems. So it's either getting a real-time operating system or accepting that at times things can temporarily go out of control.And i need to know if a value from the one being reading from the serial port changes and its in a critical range to do an action according to this...
Bookmarks