diff options
Diffstat (limited to '075channel.mu')
-rw-r--r-- | 075channel.mu | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/075channel.mu b/075channel.mu index a023b294..985292a3 100644 --- a/075channel.mu +++ b/075channel.mu @@ -9,6 +9,10 @@ # 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 [ |