<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - make qt4 frontend thread-safe"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59927#c17">Comment # 17</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - make qt4 frontend thread-safe"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59927">bug 59927</a>
from <span class="vcard"><a class="email" href="mailto:Thomas.Freitag@alfa.de" title="Thomas Freitag <Thomas.Freitag@alfa.de>"> <span class="fn">Thomas Freitag</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=59927#c16">comment #16</a>)
<span class="quote">> Commited, are we done in this one?
>
> P.S: Just had a look at the construct of Page::getResourceDict and i think
> it's a bit unseasy to use, do you think that in the "cleanup" bug we could
> instead use two functions? One that always does the copy and one that not?
> Now you have to keep track if you passed down a non null XRef to know if you
> have to delete it or not, which i think may be a bit cumbersome and error
> prone, what do you think?</span >
I'LL have a look at it abd try to find a better solution in <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Cleanup patch for bug 50992"
href="show_bug.cgi?id=59933">bug 59933</a>.
BTW, during my tests with Adam's program I got one or two times crashes. But
the reason for it was the test program itself: two threads fetched the page
annots (without any problems) and the deleted the same annotation, the first
one wins and the second could crash. I cannot solve that in the library, this
is the one case I know where the calling program is responsible to lock two
threads against each other.
@Adam: Any known open issues or can we close this bug now?</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>