thanks all involved in this thread.
2006/8/13, Boris Bralo <[EMAIL PROTECTED]>:
Hi Paul,
> Boris -- Thanks for the history and input.
>
> Robert -- Per your instructions, posted here so that others can try it out.
>
> Attached is my much simpler rewrite of OpenThreads::Mutex, using a
> CRITICAL_SECTION, which has worked well on my day since before I hired on.
> However, it depends on the underlying OS for scheduling, while it looks like
> the current version of Mutex is a little more pro-active about which thread
> gets scheduled.
>
> My changes are wrapped with the CPP macro USE_CRITICAL_SECTION, which I've
> defined in Win32MutexPrivateData.h. If you comment out the definition, you
> get the current version, so you can do a heads to heads comparison.
>
> It'll be interesting to see if this makes a difference.
> -Paul
>
If CS code performs sufficently good for everyone than we should go
for it and remove the old code.
Noone will complane since I'm not aware of any other use of OT besides
OSG/Producer
--
Boris
_______________________________________________
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/
