about summary refs log tree commit diff stats
path: root/html/075channel.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-29 21:23:56 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-29 21:23:56 -0700
commit8bafc90dfda6cd170343ad1d7351d418f38189ae (patch)
tree97c8fe5b5ebe9b7b40ca063dba4e3c9d6231e924 /html/075channel.mu.html
parentef69c56c82e85e83014605f501110697d81bcdc1 (diff)
downloadmu-8bafc90dfda6cd170343ad1d7351d418f38189ae.tar.gz
3609
Diffstat (limited to 'html/075channel.mu.html')
-rw-r--r--html/075channel.mu.html4
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 [