Hi Adrian,
I have read the MS pages and reviewed your changes and they all look
reasonable so I have gone ahead and merged them and submitted to CVS.
Thanks,
Robert.
On 7/14/06, Adrian Egli <[EMAIL PROTECTED]> wrote:
Hi Robert, hi others,
i feel much better, i got the performance issue located. There is something
odd in OpenThreads and i am not sure if this raise the trouble i am looking
for many hours.
on the dual cores the framerate is now pritty good, unfortunately i have no
access to the second computer. but at the moment it runs.
i just changed few lines in the latest CVS version of OpenThreads:
win32mutexprivatedata.h
#ifndef _WINDOWS_
#define WIN32_LEAN_AND_MEAN
#define _WIN32_WINNT 0x0400 // was missing : adegli
#include <windows.h>
#endif
win32mutex.cpp
static void _S_nsec_sleep(int __log_nsec) {
if (__log_nsec <= 20) {
SwitchToThread(); //Sleep(0); // adegli replaced it Sleep by
SwitchToThread
} else {
Sleep(1 << (__log_nsec - 20));
}
}
i hope it will run now on all systems :-) but i will continue testing
/adegli
2006/7/13, Adrian Egli < [EMAIL PROTECTED]>:
>
> thanks for the nice inputs, i will try my best
>
>
> 2006/7/13, Martin Naylor <[EMAIL PROTECTED]>:
>
> >
> > I would also get a knife or sword ready, just in case sys admin catches
you
> > ;-).
> > Be careful about local polices in place about your PC's, in can get you
> > fired quickly, although I don't know your situation.
> > Ask an Admin?
> >
> > Martin.
> >
> > > screwdriver handy though!
> > >
> > > John Donovan
> > > Sony Computer Entertainment Europe
> > > http://www.scee.com
> > >
> > >
> > >
> > >
**********************************************************************
> > > This email and any files transmitted with it are confidential and
> > > intended solely for the use of the individual or entity to whom they
> > > are addressed. If you have received this email in error please notify
> > > [EMAIL PROTECTED]
> > >
> > > This footnote also confirms that this email message has been checked
> > > for all known viruses.
> > >
> > >
**********************************************************************
> > > Sony Computer Entertainment Europe
> > >
> > > _______________________________________________
> > > 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/
> >
>
>
>
_______________________________________________
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/