mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "[Concurrency] Add underscore prefixes for not yet official API."
This commit is contained in:
committed by
GitHub
parent
3ec3421987
commit
28732f4a8b
@@ -16,10 +16,10 @@ import Swift
|
||||
|
||||
// The default executors for now are Dispatch-based
|
||||
@available(SwiftStdlib 6.2, *)
|
||||
public struct _PlatformExecutorFactory: _ExecutorFactory {
|
||||
public static let mainExecutor: any _MainExecutor = _DispatchMainExecutor()
|
||||
public struct PlatformExecutorFactory: ExecutorFactory {
|
||||
public static let mainExecutor: any MainExecutor = DispatchMainExecutor()
|
||||
public static let defaultExecutor: any TaskExecutor
|
||||
= _DispatchGlobalTaskExecutor()
|
||||
= DispatchGlobalTaskExecutor()
|
||||
}
|
||||
|
||||
#endif // os(Linux)
|
||||
|
||||
Reference in New Issue
Block a user