mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The pthread APIs on FreeBSD do not include nullability APIs so the pthread mutex APIs are imported as pointers to optional values. Other platforms include nullability APIs and import the pthread APIs as pointers to the mutex. Splitting the locking primitive type based on the OS. Fixes: rdar://150880976