<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - library should be thread-safe"
href="https://bugs.freedesktop.org/show_bug.cgi?id=50992#c105">Comment # 105</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - library should be thread-safe"
href="https://bugs.freedesktop.org/show_bug.cgi?id=50992">bug 50992</a>
from <span class="vcard"><a class="email" href="mailto:tsdgeos@terra.es" title="Albert Astals Cid <tsdgeos@terra.es>"> <span class="fn">Albert Astals Cid</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=50992#c103">comment #103</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=50992#c102">comment #102</a>)
> > Yes, having the same rendering is important, but to be honest i like to
> > understand why the code is there and why it does what it does.
>
> And You really understand every part of poppler code :-) ? </span >
No, but i understand that the guy sending the code should understand it ;-)
<span class="quote">> Therefore a delay of a few days will probably not help. Do You have any
> other suggestions?</span >
As said in coment #22 i think to make the "thread-safety" better we should
remove PDFDoc::getXRef() and force everyone to use Gfx:::getXRef() or ask for
an XRef an input, right?
Of course that is a long term-ish solution.
If you really want this in, i can add the "if" solution with a comment
explaining that that "breaks" in the multithreaded rendering case but still
gives proper rendering and that should be properly fixed in the future.
I'm still going to release beta 2 today, will ask the list how they feel about
adding a new beta 3 that let's us add more features.
Does this work for you?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>