If its the mutex lock/unlock instread Referenced:ref()/unref() that is
cause a bottlneck then try the CVS version of the OSG, it doesn't used
thread safe ref/unref() as widely as it did before, reducing the
overhead of running multi-threaded signifincantly.

On 6/25/06, Adrian Egli <[EMAIL PROTECTED]> wrote:


---------- Forwarded message ----------
From: Niall Douglas <[EMAIL PROTECTED]>
Date: 24.06.2006 17:25
Subject: Re: [Foxgui-users] Performance Issue : SceneView / FoxToolkit /
OpenThreads / cURL
To: [EMAIL PROTECTED]

On 24 Jun 2006 at 14:38, Adrian Egli wrote:

> hi i guess microsoft has changed something in the kernel32.dll
>
> if i lock the resource with while and try lock it runs much much much
better

Looks to me like you need spin counts on your mutexs. Either use a
spincounting critical section, or else use QMutex from TnFOX
(http://www.nedprod.com/TnFOX/). You will find QMutex is several
dozen times faster than anything windows provides for you (and the
version in SVN even works on all architectures, though it's much
faster on x86 or x64).

Cheers,
Niall




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Foxgui-users mailing list
[EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/foxgui-users

_______________________________________________
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