-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add posix threads support for macOS #1618
Copy link
Copy link
Closed
Labels
C-API-requestCategory: API requestCategory: API requestE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.O-macos
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
C-API-requestCategory: API requestCategory: API requestE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.O-macos
Can we add a possibility to use POSIX threads for the macOS? It seems to be not straightforward to do myself - all the code is mixed across many files. Thanks!
P.S. Maybe it is even better if we share all the POSIX-code among several targets which support it. Right now, for example, the
pthread_setschedpriofunction is defined in the/linux-like/linuxbut it shouldn't be Linux-only available.