Hello Rick The official answer fo macOS semaphores Is to use Grand Central Dispatch's dispatch_semaphore_t.
If You google with dispatch_semaphore_t You will find quite a few examples Or … very dumb suggestion Since it seems that named semaphores are still supported Why not use under the covers a named semaphore with a dummy name As I said… it might be a dumb suggestion E > On 4 Dec 2018, at 22:21, Rick McGuire <object.r...@gmail.com> wrote: > > It appears that the sem_init deprecation warnings on the Mac are more than > just warnings. That function always returns an error on the Mac. > Unfortunately, it would prove difficult to replace it with an alternative > given how this function is currently constructed. I don't believe this > function has ever worked on the Mac, and I doubt it is used very often, since > it is fundamentally broken if you are trying to create an unnamed semaphore. > No sure how to proceed with this. > > Rick > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel