List Info

Thread: Re: ThreadWeaver and asyncronous operations




Re: ThreadWeaver and asyncronous operations
user name
2007-03-26 14:10:53
On 26.03.07 19:19:51, Paulo Moura Guedes wrote:
> I have jobs that need to call async methods, think KIO,
QProcess, etc. This 
> makes the job return and thus be finished, before
time.
> It was suggested to me that if the respective thread
has its own event loop, 
> this could be solved. However, ThreadWeaver doesn't
seem to support this.
> Any advice?

I guess I miss something, but why do you need threadweaver
if the ops
you do are asynch already? The whole point of using
ThreadWeaver is to
do some work asynchronously to the main thread.

Also note: KIO as well as QProcess can be made synchronous.

Andreas

-- 
You should emulate your heros, but don't carry it too far. 
Especially
if they are dead.
 
>> Visit 
http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
unsubscribe <<

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )