Hi Adrain,

Looking at the Win32 OpenThreads::Thread::YieldCurrentThread()
implemention - its just a Sleep(10) which looks a bit a hack, under
pthreads there is s proper sched_yield() call.

Is there a Win32 properly thread call for yielding the processor?

There are pthread implementations under Windows, perhaps you could use this.

Robert.

On 7/7/06, Adrian Egli <[EMAIL PROTECTED]> wrote:
i sent some days ago a little test application which make nothing else than
runing multiple threads with shared memory protected by mutexes. everything
works well, but i told that i have an issue on just one computer. know i
found
a second one. AMD with windows 2000 service pack 4, kernel version 5.00.xxx
the sleep command hangs the thread for a while and blocks the application,
windows
does not switch threads on calling sleep. may this is a windows bug.

so i will retry everything a can do, try out the best workaround and then we
could
talk this topic here. i have to call the mailing to help me, if someone else
has
an performance issue with his application, please inform me as soon as you
found it.

thanks

/adegli

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to