Hi there folks!

The SleepEx() system call can be used to suspend a thread. One parameter is a timeout value, specified in milliseconds.

However the resolution of this timeout seems to be about 10ms and I have to go beyond that.

I've tried SleepEx( 0, FALSE ) but than the thread just yields and will become active with no timeout.

Does anyone know a way to yield processor time with a higher resolution.


Thanks!

Martin van den Berg
High Tech Automation
The Netherlands
[email protected]