[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Porting CommonC++ to AiX-4.3
From: |
Bernhard Trummer |
Subject: |
Re: Porting CommonC++ to AiX-4.3 |
Date: |
Fri, 18 Jan 2002 09:24:03 +0100 |
User-agent: |
Mutt/1.2.5i |
> 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.
--
Marriage is a lot like the army, everyone complains, but you'd be
surprised at the large number that re-enlist.
-- James Garner