bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Porting CommonC++ to AiX-4.3


From: David Sugar
Subject: Re: Porting CommonC++ to AiX-4.3
Date: Fri, 18 Jan 2002 06:47:49 -0500 (EST)

Is there a preprocessor directive for AIX to test for?  If so, I could add
an additional special case #ifdef __AIX__ type of thing at least for the
short-term.  Really, pthread_suspend was only in cygwin as far as I knew,
anyway...


On Fri, 18 Jan 2002, Bernhard Trummer wrote:

> > Bernhard Trummer wrote:
> > >The demo-program "threadtest" doesn't run through:
> > >- thread should not change n...ko
>
> The reason is, that configure finds the function "pthread_suspend()",
> which will set HAVE_PTHREAD_SUSPEND in config.h.
> But on AiX, this function does not work (like sem_init()).
>
> After I temporarily commented out the HAVE_PTHREAD_SUSPEND define
> in config.h and recompiling the CommonC++ library, the testthread
> program ran through without errors.
>
> I'm not quite sure, how to add an "AiX-check" for pthread_suspend()
> best, so I don't send a patch this time...
>
>
> Thank you and ciao.
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]