[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Threading
From: Matthias Elter <me () main-echo ! net>
Date: 1999-09-10 8:11:43
[Download RAW message or body]
Am Mon, 06 Sep 1999 schrieb Bavo De Ridder:
> >%_Hello,
>
> I have a design question concerning the threading library in kimageshop.
> When I was trying to generalize the interface so we could dynamically load
> the desired threading library, I stumbled over the following problem:
> whenever I tried to design a generic interface I always found myself
> designing POSIX again. This means that it is very difficult to make the
> library generic so a lot of threading libraries can be used.
>
> Currently there are two kinds of threading libraries available:
> 1) POSIX implementations, these are standardized in the header files
> 2) libaries which don’t follow the POSIX standard and are mostly
> unusable for any industrial strength applications.
>
> To conclude: until now I see good reasons not to implement a generic
> threading library. Instead we could stick with Pthreads (POSIX threads).
> Every platform capable of multithreading supports POSIX threading. Platforms
> not supporting POSIX threads often have only very poor and unreliable
> alternatives. Userspace level threads are completely unacceptable since they
> will actually degrade performance instead of increasing performance.
>
> What do you think about this ?
I think we should stick with Pthreads _if_ all platforms supported by KDE have
a sane Pthreads implementation.
Greetings, Matthias
--
Matthias Elter
me@kde.org / me@main-echo.net
KDE developer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic