On 2009-04-28 10:45+0100 Andrew Ross wrote:

> [...]I've been using HAVE_PTHREAD=ON for a long time with the xwin driver 
> with no
> problems. It has certainly been enabled in the debian packages as well with
> no reported bugs. Based on this I am relatively sure that this bit is ok. The
> problem is that there is some extra code for handling user supplied windows
> which is currently only exercised by plframe. I suspect the error is there.
> Based on this I would like to propose that we disable HAVE_PTHREAD for 
> plframe,
> but not more generally. We could do this by ensuring that -drvopt usepthread=0
> is set in the plframe code.
>
> This would mean users don't have to choose between losing very useful
> functionality with xwin and potentially having a bug in the tk code. I think 
> this
> is particularly important as the xwin driver is I imagine much more widely 
> used
> that the tk code. Does this sound acceptable to everyone?

Hi Andrew:

You may recall that the lost text problem for -dev xcairo windows resizing
was spread by HAVE_PTHREAD=ON to the case where even the window focus was
being changed. I now assume that was just HAVE_PTHREAD=ON doing its job
since I just checked that Hazen's recent fix for the lost text -dev xcairo
issue also works fine for the HAVE_PTHREAD=ON case.  Thus, your suggested
much more minor workaround of simply turning HAVE_PTHREAD OFF just for the
Tk case rather than in general is fine by me.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to