D
Dave Sauny
Heres the scenario,
I have an external device on a com port. I communicate with it using
serial commands. on my form i have a windows.forms.timer which reads
information off of it every 0.5 seconds. whilst any commands are
being sent or received from the external device, no other method can
send or receive from it. Only problem is i can't seem to get this
mutual exclusion working.
I have created a semaphore to only allow one thread access to the
device at any one time but this does not seem to work. Is there some
other way I can go about this?
thanks
I have an external device on a com port. I communicate with it using
serial commands. on my form i have a windows.forms.timer which reads
information off of it every 0.5 seconds. whilst any commands are
being sent or received from the external device, no other method can
send or receive from it. Only problem is i can't seem to get this
mutual exclusion working.
I have created a semaphore to only allow one thread access to the
device at any one time but this does not seem to work. Is there some
other way I can go about this?
thanks