Hi,

On Mon, 2004-08-30 at 11:44, Gerrit Voss wrote:
> Hi,
> 
> On Fri, 2004-08-27 at 20:39, Jean-Marie Houssay wrote:
> > Hello,
> > 
> > Actually,  I have a problem with OpenSG's lock ... that locks nothing 
> > :-)  !!!
> > My application synchronises two threads : one for the glut loop and the 
> > other
> > for the OpenMASK platform. With an old version of OpenSG (~one month),
> > everything is OK.
> > I downloaded the daily build and rebuilt a cvs update without success.
> > (linux gcc3)
> > Is there a bug or has the OpenSG interface evolved during the summer ?
> 
> the only thing we changed was using recursive locks on all platforms
> in order to have the same behavior everywhere. But this should not
> influence the normal locking. I'll check if this introduced some
> problems and let you now the results.

sorry took a second, but my small testcase (two threads, one lock) works
as expected. The only guess I can make is that you actually acquired the
lock from the same thread twice and than used the second thread to
release the lock again. This behavior has changed as the first thread
would not block because we switched to recursive locks allowing the same
thread to acquire a lock more than once without locking up.

regards,
  gerrit



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to