curl-library
Re: AIX and thread
From: Christophe Neumair <christophe_at_neumair.org>
Date: Wed, 7 Apr 2004 14:37:49 +0200
Date: Wed, 7 Apr 2004 14:37:49 +0200
Hi,
> (There are certainly *some* AIX-specific problems one should be aware
> of
> though, the POSIX semaphores, for example, exist in the AIX 5.1
> runtime
> library and header files, but they're all just fake functions.
> Your application will compile just fine, but will fail in runtime if
> your're synchronizing your threads through posix semaphores.
> For some reason IBM thought this non-solution was 'cleaner' than not
> providing the header- and libc definitions at all. Go figure.)
Yes, I know that posix semphore on AIX system
are completely fake for use between thread.
Then, I use mutex to synchronizing my threads.
Christophe
-- (o_ //\ V_/_Received on 2004-04-07