On 11/21/2014 10:41 AM, Jean-Marc Lasgouttes wrote:
Le 19/11/2014 22:43, Georg Baum a écrit :
What do we do now? I can think of several alternatives:
[...]

2) Disable EXPORT_in_THREAD if GNU libstdc++ is found. This is an easy and safe solution, with the disadvantage that it removes a feature (but I think
that this is much better than risking crashes).

AFAICS, the threaded export is interesting mostly because of the cost of running external programs. Could we do the latex export in the main thread and then just do our converter stuff in a multithreaded way? How difficult is that?

That's a good idea, but I have no idea how difficult it would be. I'm also not sure how well this would work with our other export formats, e.g., docbook and html. In those cases, we call external converters, as well.

And if exporting to LaTeX is too slow, we just have to profile it and speed it up.

It is a bit strange to me that libstdc++ can have this bug without a solution in view. LyX is probably not the only GUI program that uses threads with g++, is it?

One would suppose not.

Richard

Reply via email to