From review comments

This commit is contained in:
Patrik Nordwall 2011-12-09 12:29:24 +01:00
parent 1979b14061
commit 09719af11a
3 changed files with 21 additions and 6 deletions

View file

@ -268,7 +268,7 @@ Gives you a way to avoid blocking.
the containing actors reference, i.e. do not call methods or access mutable state
on the enclosing actor from within the callback. This would break the actor
encapsulation and may introduce synchronization bugs and race conditions because
the callback will be scheduled concurrently to the enclosing actor. Unfortunately
the callback will be scheduled concurrently to the enclosing actor. Unfortunately
there is not yet a way to detect these illegal accesses at compile time. See also:
:ref:`jmm-shared-state`