mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The experimental concurrency model will require a supporting runtime and possibly end-user-visible library constructs. Introduce a stub of such a library, enabled by a new `build-script` option `--enable-experimental-concurrency`, so we have a place to put this work.
21 lines
697 B
Swift
21 lines
697 B
Swift
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2020 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See https://swift.org/LICENSE.txt for license information
|
|
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
import Swift
|
|
@_implementationOnly import _SwiftConcurrencyShims
|
|
|
|
public struct PartialAsyncTask {
|
|
private var context: UnsafeMutablePointer<_SwiftContext>
|
|
|
|
public func run() { }
|
|
}
|