Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for MacOS (semaphore handling) #7

Merged
merged 3 commits into from Jul 30, 2019
Merged

Update for MacOS (semaphore handling) #7

merged 3 commits into from Jul 30, 2019

Conversation

dl1ycf
Copy link
Contributor

@dl1ycf dl1ycf commented Jul 19, 2019

To make the use of named semaphores (required in MacOS) bullet-proof, they are now opened with exclusive access, and each sem_open() is preceeded by a sem_close() with the same name.
This avoids connecting to semaphores still lingering around in the OS.

@g0orx g0orx merged commit 00b7d7c into g0orx:master Jul 30, 2019
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.

None yet

2 participants