diff options
Diffstat (limited to 'html/075channel.mu.html')
-rw-r--r-- | html/075channel.mu.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/html/075channel.mu.html b/html/075channel.mu.html index 42e8fda8..7b9ade33 100644 --- a/html/075channel.mu.html +++ b/html/075channel.mu.html @@ -45,6 +45,10 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="Comment"># b) Writing to a channel implicitly performs a deep copy. This prevents</span> <span class="Comment"># addresses from being shared between routines, and therefore eliminates all</span> <span class="Comment"># possibility of race conditions.</span> +<span class="Comment">#</span> +<span class="Comment"># There's still a narrow window for race conditions: the ingredients passed in</span> +<span class="Comment"># to 'start-running'. Pass only channels into routines and you should be fine.</span> +<span class="Comment"># Any other mutable ingredients will require locks.</span> <span class="muScenario">scenario</span> channel [ run [ |