Skip to content

use GCD semaphores on macOS#11

Open
zdAlexM wants to merge 1 commit intohalon:masterfrom
zdAlexM:alexm/gcd-semaphores
Open

use GCD semaphores on macOS#11
zdAlexM wants to merge 1 commit intohalon:masterfrom
zdAlexM:alexm/gcd-semaphores

Conversation

@zdAlexM
Copy link

@zdAlexM zdAlexM commented Jan 20, 2026

On modern macOS, POSIX semaphores are unsupported. The API exists but always returns errno. Per a Stack Overflow solution, one can use Grand Central Dispatch as a drop-in replacement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant