Re: fixed time slices?



Hm, I'm using another mainboard for some months. Maybe the other
one's driver did something difrent/better.

Thanks for the note about the multmedia-timers. I again needed
to convert some headers to use them, but it seems to work.

The thread that calls the mutimedia-timer callback function
isn't the same as the one the created the timer. From
within the callback-procedure, a loop like

for i := 1 to n do sleep(s);

takes about n*(s+1) ms. What's difrent with this thread?



What I basically want is a real sleep(1ms) function,
that consumes less CPU than brute force waiting, and
after sleep have somesomthing done from within the
sleep-thread.

Gruss

Jan Bruns

.