Commit Graph

52 Commits

Author SHA1 Message Date
Alastair Houghton
2398fe76f6 [Threading] A couple of header file fixes.
Some declarations were missing from non-Darwin sources, and the Linux
header was slightly broken.

rdar://90776105
2022-05-24 14:57:39 +01:00
Alastair Houghton
63a09007a1 [Threading] Create new threading library and use it.
Moved all the threading code to one place.  Added explicit support for
Darwin, Linux, Pthreads, C11 threads and Win32 threads, including new
implementations of Once for Linux, Pthreads, C11 and Win32.

rdar://90776105
2022-05-24 14:57:39 +01:00