<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#c45">Comment # 45</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:adamreichold@myopera.com" title="Adam Reichold <adamreichold@myopera.com>"> <span class="fn">Adam Reichold</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=50992#c43">comment #43</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=67636" name="attach_67636" title="more changes to get qt library thread safe">attachment 67636</a> <a href="attachment.cgi?id=67636&action=edit" title="more changes to get qt library thread safe">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=50992&attachment=67636'>[review]</a> [review]
> more changes to get qt library thread safe
>
> This patch also inlcudes the changes from Adam. I went through the code of
> okular and tried to make all calls of the poppler qt library thread safe.</span >
Just two question whether I understand this correctly: This patch aims to make
all (or just some and if so which) methods exposed through the Qt4 frontend by
Poppler::Document and Poppler::Page thread-safe, i.e. I could share my document
instance over several threads concurrently calling stuff like renderToImage and
search?
And I am supposed to check the POPPLER_QT4_THREADSAFE macro to find out whether
I need to lock document access? So for example:
#ifndef POPPLER_QT4_THREADSAFE
// locking goes here
#endif
// make Poppler do something
Best regards, Adam.
P.S.: The documentation comments have the "since 0.22" tag, is there a chance
this will make it into 0.22 even though 0.21 was already released?</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>