[Poppler-bugs] [Bug 59927] make qt4 frontend thread-safe

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 20 23:56:24 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=59927

--- Comment #17 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to comment #16)
> 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?

I'LL have a look at it abd try to find a better solution in bug 59933.

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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130221/c6ef73ae/attachment.html>


More information about the Poppler-bugs mailing list