[commonqt-devel] Re: What is the recommended way to do background jobs in CommonQt?
Rujia Liu
rujia.liu at gmail.com
Tue Sep 24 13:55:36 UTC 2013
It looks like using bordeaux-threads is the *only* option that works for me
:(
I use bordeaux-threads: make-thread to make a thread, download the picture
in that thread, and after it's downloaded, emit a signal. I think the slot
function is still executed in the main thread, not the new thread created
by bordeaux-threads:make-thread, am I right? At least I didn't observe
anything suspicious. Correct me if this is not a recommended way.
On Tue, Sep 24, 2013 at 6:37 PM, Rujia Liu <rujia.liu at gmail.com> wrote:
> Hi!
>
> In my application, I need to download a big picture, when it is done, open
> a complex widget to show the picture (moving/zooming etc). I have options
> like threads in CL, QThread, QtConcurrent. What is the recommended way? Or
> maybe some of them just don't work?
>
> - Rujia
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/commonqt-devel/attachments/20130924/f6f1b99c/attachment.html>
More information about the commonqt-devel
mailing list