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

List:       kde-kimageshop
Subject:    Re: threading libs
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! TU-Berlin ! DE>
Date:       1999-08-28 7:48:55
[Download RAW message or body]

On Fri, Aug 27, 1999 at 07:05:48PM +0200, Bavo De Ridder wrote:

Hi,
 
> Apparently there are systems on which __USE_UNIX98 is not defined and which use
> the second generation pthread.h meaning you have no way to set mutex
> attributes. I am probably wrong and I wouldn't know what to do. UNIX98, ....
> glibc versioning is completely new to me.
> 
> However, upgrading to glibc2 (included with Redhat 6.0) should solve the
> problem. Sorry .....

No problem, I'm going to get SuSE 6.2 which is using glibc2.1 too, soon.
 
> they check (using configure) if pthreads has ....setkind_np, if yes, they use
> the type parameters and construct specialized mutexes. If setkind_np is not
> present then ACE will not use the type parameter. Currently however you have
> the settype function.

Ok, sounds good.

> If the settype is available, use that.
> if the setkind_np us available, use that (if settype is not there)
> else ignore mutex types
> 
> This should be put in some kind of configure script. However configure scripts
> are way above my head ....

I don't know where to put the threading lib... should that be in kdelibs
or just in KIS? I'd prefer kdelibs, so other programs could benefit from
it.
The configure shouldn't be too hard, then.

Cheers,
Carsten Pfeiffer
-- 
http://www.geocities.com/SiliconValley/1632/

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

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