<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 9, 2013 at 1:31 AM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El Divendres, 9 d'agost de 2013, a les 01:09:18, Jaydeep Solanki va escriure:<br>
> forgot to attach<br>
<br>
Can you explain your locking, not sure i understand it.<br></blockquote><div>QMutexLocker will lock the mutex in its constructor and unlock it in its destructor.<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Cheers,<br>
  Albert<br>
<div class="im"><br>
><br>
> On Fri, Aug 9, 2013 at 1:07 AM, Jaydeep Solanki <<a href="mailto:jaydp17@gmail.com">jaydp17@gmail.com</a>> wrote:<br>
> > Hi,<br>
> ><br>
> > Finally an end to cloning and threading issue.<br>
> > Diff attached. I have kept QElapsedTimer, just in case you if you want to<br>
> > check performance. I'll remove it and qDebug() when pushing it.<br>
> ><br>
</div>> > *A possible improvement:*<br>
<div class="im">> > While a non UI thread is creating a cloned object using<br>
> > TextDocumentConverter::convert(), the UI thread should be generating<br>
> > pixmaps till the cloned object is created.<br>
<br>
</div>_______________________________________________<br>
Okular-devel mailing list<br>
<a href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/okular-devel" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
</blockquote></div><br></div></div>