Hi J.P,

On Fri, May 23, 2008 at 9:16 AM, J.P. Delport <[EMAIL PROTECTED]> wrote:
>> I've reviewed all the places that read and write the
>> RequestQueue::_requestList and they
>> all look like they acquire the _requestMutex before they use the list.
>
> are all the acquires from different threads? I have not checked lately, but
> there used to be a difference between Win/Lin wrt taking mutexes
> recursively. Win allowed recursive if the call was from within the same
> thread, Lin did not.

I believe this is still true w.r.t Windows allowing recursive mutexes,
while pthreads
doesn't.  However, I doubt this is relevant to the instability under
Windows, as the
code started out under Linux, if code was such that a single thread was entering
the same mutex then Linux would just deadlock, unable to acquire the same mutex
twice.  I'm not getting deadlocks.

Perhaps one things that is being stressed more know is the general thread safety
osgDB::Registry and the plugins, as the new DatabasePager allows multiple loads
to be running in a parallel.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to