Hi Coding Experts,
I have several threads that need to occasionally query a serial port. The threads are constantly running and so it's quite possible that more than one will try to query and send data via the Serial port at any one time.
Whats the best way (pattern?) to do this?
If I get the threads to query the Port directly, then I expect there would be a conflict when they open the Serial Port.
In Java I could call a synchronized method on an Object, but I'm not sure in VB.net. Having said this, there may be a better way than that.