[NPTH] npth and fork

NIIBE Yutaka gniibe at fsij.org
Mon Nov 28 12:45:26 CET 2016

On 11/28/2016 06:28 PM, Werner Koch wrote:
> You patch also removed the fix (or well, semi-fix) for AIX.  Was this
> intentional?

It's not intentional for AIX.  My intention is just for macOS.
Nevertheless, this is a good opportunity also addressing AIX.

Executive summary:
I think that the removal is also valid for AIX versions.

I learn the versions of AIX in the Wikipedia:

I checked IBM Knowledge Center.

    IBM Knowledge Center:

Current supported versions: 5.3, 6.1, 7.1, 7.2
All has sem_init and it doesn't return ENOSYS.
It seems that it was introduced 5.2.

I found a page saying it was ENOSYS in 4.3.3:


I don't know about 5.1.

I checked Python bug tracker.  We can see similar issues on AIX
about sem_init.  For example:


I checked BDW-gc library mailing list:


It said that it worked on AIX 5.2, 5.3, 6.1 and 7.1.

So, I believe that it (I mean, removal of try_sem_open) works on AIX
5.2, 5.3, 6.1, 7.1 and 7.2.  Note that I can only test on AIX 6.1.

I also find an article:

    Implement POSIX Semaphore APIs using System V Semaphores APIs:

It suggests use of System V Semaphores for z/OS.

More information about the Gnupg-devel mailing list