Commit Graph

2 Commits

Author SHA1 Message Date
Kuba (Brecka) Mracek
d0cc5757b9 Avoid #including pthread.h when SWIFT_STDLIB_SINGLE_THREADED_RUNTIME is set (#40175) 2021-11-14 15:14:06 -08:00
Mike Ash
190d3fd22e [Concurrency] Use pthread_specific for thread-local storage on Darwin.
The pthread_specific APIs are better than C++ thread_local storage on Darwin since we can use Swift's reserved pthread keys there.

rdar://79504652
2021-06-29 16:56:59 -04:00