Files
swift-mirror/stdlib/private
Alastair Houghton 0cf687aa2b [Build][Runtime] Replace SWIFT_STDLIB_SINGLE_THREADED_RUNTIME.
SWIFT_STDLIB_SINGLE_THREADED_RUNTIME is too much of a blunt instrument here.
It covers both the Concurrency runtime and the rest of the runtime, but we'd
like to be able to have e.g. a single-threaded Concurrency runtime while
the rest of the runtime is still thread safe (for instance).

So: rename it to SWIFT_STDLIB_SINGLE_THREADED_CONCURRENCY and make it just
control the Concurrency runtime, then add a SWIFT_STDLIB_THREADING_PACKAGE
setting at the CMake/build-script level, which defines
SWIFT_STDLIB_THREADING_xxx where xxx depends on the chosen threading package.

This is especially useful on systems where there may be a choice of threading
package that you could use.

rdar://90776105
2022-06-07 07:39:51 +01:00
..
2022-04-19 14:02:43 -07:00

The modules in the 'stdlib/private' directory contain APIs that are
considered private to the Swift project. Don't use them outside of the
repositories related to the Swift project.

These APIs are used for building Swift build and test automation tools,
represent early prototypes of APIs that are not intended to be included
in the standard library soon, modules to support ports to other platforms,
and other similar needs that are private to the Swift project and its
development process.