File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,17 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
5
5
6
6
## Swift 5.7
7
7
8
+ * [ SE-0340] [ ] :
9
+
10
+ It is now possible to make declarations unavailable from use in asynchronous
11
+ contexts with the ` @available(*, noasync) ` attribute.
12
+
13
+ This is to protect the consumers of an API against undefined behavior that can
14
+ occur when the API uses thread-local storage, or encourages using thread-local
15
+ storage, across suspension points, or protect developers against holding locks
16
+ across suspension points which may lead to undefined behavior, priority
17
+ inversions, or deadlocks.
18
+
8
19
* [ SE-0343] [ ] :
9
20
10
21
Top-level scripts support asynchronous calls.
@@ -9083,6 +9094,7 @@ Swift 1.0
9083
9094
[SE- 0341 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0341-opaque-parameters.md>
9084
9095
[SE- 0336 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0336-distributed-actor-isolation.md>
9085
9096
[SE- 0343 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0343-top-level-concurrency.md>
9097
+ [SE- 0340 ]: < https: // github.com/apple/swift-evolution/blob/main/proposals/0340-swift-noasync.md>
9086
9098
9087
9099
[SR- 75 ]: < https: // bugs.swift.org/browse/SR-75>
9088
9100
[SR- 106 ]: < https: // bugs.swift.org/browse/SR-106>
You can’t perform that action at this time.
0 commit comments