From review comments
This commit is contained in:
parent
1979b14061
commit
09719af11a
3 changed files with 21 additions and 6 deletions
|
|
@ -316,7 +316,7 @@ Gives you a way to avoid blocking.
|
|||
the containing actor’s 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`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue