I have a microcontroller attached via usb. When the microcontroller requests data I need windows to respond as soon as possible.
I have created a thread to poll the usb port (using third party functions (DLL)) and then output the message when required.
To speed things up I have then raised the priority of the thread. I need to further raise the priority but I am conserned that I will lockout lower priority processes. I really need to poll the port at set intervals and then lower the thread priority between checks.
Any idea's or suggested reading?
Thanks for any help.
I have created a thread to poll the usb port (using third party functions (DLL)) and then output the message when required.
To speed things up I have then raised the priority of the thread. I need to further raise the priority but I am conserned that I will lockout lower priority processes. I really need to poll the port at set intervals and then lower the thread priority between checks.
Any idea's or suggested reading?
Thanks for any help.