Threads in kdelibs

Ellis Whitehead kde at ellisw.net
Sat Apr 27 01:24:58 BST 2002


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?




More information about the kde-core-devel mailing list