Martin vd Berg
April 26th, 1999, 03:40 AM
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
Martin.van.den.Berg@hta.nl
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
Martin.van.den.Berg@hta.nl