Skip to content

Commit dd06281

Browse files
authored
Merge pull request #35704 from ktoso/wip-tasks-rev3
2 parents 30bcdd9 + a55ebff commit dd06281

19 files changed

+434
-276
lines changed

include/swift/ABI/TaskStatus.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
namespace swift {
2727

28-
/// The abstract base class for all sttatus records.
28+
/// The abstract base class for all status records.
2929
///
3030
/// TaskStatusRecords are typically allocated on the stack (possibly
3131
/// in the task context), partially initialized, and then atomically

stdlib/public/Concurrency/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ add_swift_target_library(swift_Concurrency ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} I
3838
Actor.swift
3939
CheckedContinuation.swift
4040
GlobalExecutor.cpp
41+
Executor.swift
4142
AsyncIteratorProtocol.swift
4243
AsyncSequence.swift
4344
PartialAsyncTask.swift
4445
Task.cpp
4546
Task.swift
4647
TaskCancellation.swift
47-
_TimeTypes.swift
4848
TaskAlloc.cpp
4949
TaskStatus.cpp
5050
TaskGroup.cpp
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
////===----------------------------------------------------------------------===//
2+
////
3+
//// This source file is part of the Swift.org open source project
4+
////
5+
//// Copyright (c) 2021 Apple Inc. and the Swift project authors
6+
//// Licensed under Apache License v2.0 with Runtime Library Exception
7+
////
8+
//// See https://swift.org/LICENSE.txt for license information
9+
//// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
////
11+
////===----------------------------------------------------------------------===//
12+
13+
import Swift
14+
15+
// TODO: just a placeholder; proposal and complete types soon
16+
public protocol ExecutorRef {}

0 commit comments

Comments
 (0)