From 5a82743db10bf6adbd1cd9b6bb64304a2c518e43 Mon Sep 17 00:00:00 2001 From: Jim Haungs Date: Mon, 13 Oct 2025 20:00:36 -0700 Subject: [PATCH 1/2] Word this to show that data is passive; it can't protect; it must be protected by code. --- TSPL.docc/LanguageGuide/Concurrency.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TSPL.docc/LanguageGuide/Concurrency.md b/TSPL.docc/LanguageGuide/Concurrency.md index 6dc1193fc..5458be299 100644 --- a/TSPL.docc/LanguageGuide/Concurrency.md +++ b/TSPL.docc/LanguageGuide/Concurrency.md @@ -1455,8 +1455,8 @@ the part of a program that contains mutable state, like variables and properties, is called a *concurrency domain*. Some kinds of data can't be shared between concurrency domains, -because that data contains mutable state, -but it doesn't protect against overlapping access. +because that data contains mutable state +that is not protected against overlapping access. A type that can be shared from one concurrency domain to another is known as a *sendable* type. From 11bdda731e70904769df1e79c3642c9c206ec8f0 Mon Sep 17 00:00:00 2001 From: Jim Haungs Date: Mon, 13 Oct 2025 20:08:12 -0700 Subject: [PATCH 2/2] Fix typo - safely 'assess' should be safely 'access' --- TSPL.docc/ReferenceManual/Attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TSPL.docc/ReferenceManual/Attributes.md b/TSPL.docc/ReferenceManual/Attributes.md index a8e17605e..0c6247e93 100644 --- a/TSPL.docc/ReferenceManual/Attributes.md +++ b/TSPL.docc/ReferenceManual/Attributes.md @@ -1006,7 +1006,7 @@ which provides a shared instance of an actor. A global actor generalizes the concept of actor isolation to state that's spread out in several different places in code --- such as multiple types, files, and modules --- -and makes it possible to safely assess global variables from concurrent code. +and makes it possible to safely access global variables from concurrent code. The actor that the global actor provides as the value of its `shared` property serializes access to all this state.