Skip to content

sync: remove pthread_rwlockattr_setpshared #24166

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

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

tankf33der
Copy link
Contributor

During the porting of vlang to NetBSD, it was discovered that pthread_rwlockattr_setpshared() is hidden, and PTHREAD_PROCESS_PRIVATE is actually the default value in all systems.
Let's remove it completely and save NetBSD.

FreeBSD 14
MacOS 15
POSIX
GNU Lib

Copy link

Connected to Huly®: V_0.6-22555

@spytheman
Copy link
Member

Thank you for investigating this 🙇🏻‍♂️ .

@spytheman spytheman merged commit 55b16fb into vlang:master Apr 9, 2025
76 of 77 checks passed
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.

2 participants