Skip to content

sync: remove pthread_rwlockattr_setpshared - #24166

Merged
spytheman merged 1 commit into
vlang:masterfrom
tankf33der:pshared
Apr 9, 2025
Merged

spytheman merged 1 commit into
vlang:masterfrom
tankf33der:pshared

Conversation

@tankf33der

Copy link
Copy Markdown
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

@huly-for-github

Copy link
Copy Markdown

Connected to Hulyยฎ: V_0.6-22555

@spytheman

Copy link
Copy Markdown
Contributor

Thank you for investigating this ๐Ÿ™‡๐Ÿปโ€โ™‚๏ธ .

@spytheman
spytheman merged commit 55b16fb into vlang:master Apr 9, 2025
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