[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: synchronization problem in libkhtml while doing a form submit
From:       Adriaan de Groot <adridg () sci ! kun ! nl>
Date:       2004-07-14 16:45:56
Message-ID: Pine.GSO.4.44.0407141843280.17033-100000 () wn4 ! sci ! kun ! nl
[Download RAW message or body]

On Wed, 14 Jul 2004, Waldo Bastian wrote:
> On Wed July 14 2004 17:33, Yarram Sunil Kumar wrote:
> >      I have changed my code and running the QApplication::exec()  in
> > main thread. There are other worker threads that does fetching (calls
> > openURL).
> > Each thread reads a list of urls and fetches them sequentially.
>
> DCOP (or KDE for that matter) does not support multiple threads.

That's an awfully broad statement to make. And untrue, since you can see
KNode using threads quite successfully for several years now (KPilot does,
too). The KDE libraries are not designed to be reentrant, though, so you
have to be _very_ careful what you do with the libraries from other
threads; basically, if it crashes, then you did something you shouldn't
have. Use threads for computation - call KDE libraries only from the main
thread.


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic