Threads in kdelibs

Allan Sandfeld Jensen snowwolf at one2one-networks.com
Sat Apr 27 13:56:12 BST 2002


On Saturday 27 April 2002 02:18, Rik Hemsley wrote:
> #if Ellis Whitehead
>
> > On Friday 26 April 2002 19:51, Thiago Macieira wrote:
> > > Ellis Whitehead wrote
> > >
> > > >We don't have a requirement for thread-safety in kdelibs, do we?  I'd
> > > > like to use a static class variable to indicate whether XML settings
> > > > are currently being read in for KActionCollection...
> > >
> > > No, I don't think we do. And I'm sure kdelibs isn't thread-safe nor
> > > reentrant for its most part. What is possible is to use threads, but
> > > keep things separated and don't share data over threads... but even
> > > then.
> > >
> > > Now, it would be nice if you already wrote your code with thread-safety
> > > in mind. One day we might choose to be thread-safe and your design-time
> > > decisions will make your life easier.
> >
> > This couldn't be before KDE 4.0, could it?
>
> Not unless TT make Qt thread safe in the near future.
>
Then what exactly is qt-mt? 
Qt with QThreads enabled?




More information about the kde-core-devel mailing list