Subj : Re: posix semaphores on AIX To : comp.programming.threads From : David Hopwood Date : Fri Jul 29 2005 01:03 pm jpknott@gmail.com wrote: > Are posix semaphores supported on AIX (5.1 - 5.2)? > > I am trying to port some thread-aware code which runs fine on linux and > Solaris. However, on AIX when I call sem_open I am getting -1, with > errno set to ENOSYS. > > It seems rather incredible that posix semaphores are simply not > implemented, so I am guessing that I am either linking incorrectly, or > perhaps not defining some critical macro when compiling. suggests that using pthreads on AIX may require compiling with "cc_r". I don't know what the magic incantation is to make gcc work with pthreads on AIX (but see ). -- David Hopwood .