From 8bafc90dfda6cd170343ad1d7351d418f38189ae Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 29 Oct 2016 21:23:56 -0700 Subject: 3609 --- html/075channel.mu.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'html/075channel.mu.html') 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 # b) Writing to a channel implicitly performs a deep copy. This prevents # addresses from being shared between routines, and therefore eliminates all # possibility of race conditions. +# +# There's still a narrow window for race conditions: the ingredients passed in +# to 'start-running'. Pass only channels into routines and you should be fine. +# Any other mutable ingredients will require locks. scenario channel [ run [ -- cgit 1.4.1-2-gfad0