On Thursday, April 30, 2009 at 10:07:26 (+0100) Andrew Ross writes:
 > I think I have convinced myself that XInitThreads is needed for the Tk case 
 > since 
 > we don't control all the Xlib calls. A quick web search suggests our symptoms
 > are probably a result of Xlib calls being made before XInitThreads is called.
 > I tried Maurice's suggestion, but this does not help. It is still not early 
 > enough.
 > Adding a call to XInitThreads into the start of tkMain.c does solve the 
 > problem 
 > though. The additional call in xwin.c does not seem to be a problem. This 
 > leaves
 > the basic xwin code unchanged and only affects the tk code, so I am happy to 
 > commit this ahead of the release and to re-enable HAVE_PTHREAD by default.

Sounds good.

-- 
Maurice LeBrun

------------------------------------------------------------------------------
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