Adrian Egli wrote:
Yes i did this and the suddenly the performance will be better. but we have to sleep, so
 i also tried to do something like this:

dt = 1000;
while ( dt > 0 ) {
a = tick();
SwitchToThread();
b = tick();
dt - = b-a;
}

but i wondered why windows xp don't have same behaviour on all system.


Other than 'Windows is programmer-hostile?'  ;-)

Don

--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
                        - Benjamin Franklin

+----------------------------------------+
|  Don Tidrow                            |
|  Visualization Software Engineer       |
|  SAIC                                  |
|  ph: 703-253-1094                      |
+----------------------------------------+
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to