Threads in kdelibs

Rik Hemsley rik at kde.org
Sat Apr 27 01:18:04 BST 2002


#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.

Rik





More information about the kde-core-devel mailing list