yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00926
Re: r1649 - graphic display
> I just did `svn up` and I can confirm that it deadlocks even before
> opening the 1st display window. Doesn't work at all :p
>
> commenting out that lock in GLViewer::paintGL(void) solves the problem.
That doesn't solve the problem I was trying to solve, i.e. concurrent
access from different threads.
Did you try running scripts/gl-test.py (and enable second view therein)?
There is the problem demonstrated. Please try rather commenting out
makeCurrent/doneCurrent in lock constructor/desctructor. The lock itself is
neede, see those threads on the subject:
http://www.vtk.org/pipermail/vtkusers/2008-July/096077.html
http://lists.trolltech.com/qt-interest/2006-06/thread00248-0.html
http://doc.trolltech.com/qq/qq06-glimpsing.html
Regards, Vaclav
> PS: why did you write "void" there?
Why not?
Follow ups
References