Merge pull request #649 from bjornharrtell/patch-4

Add warning about passing mutable state into the constructor of an Actor
This commit is contained in:
Viktor Klang (√) 2012-08-30 05:36:51 -07:00
commit b404d75521

View file

@ -108,6 +108,11 @@ Here is an example:
meaning of an actor restart, which is described here:
:ref:`supervision-restart`.
.. warning::
Also avoid passing mutable state into the constructor of the Actor, since
the call-by-name block can be executed by another thread.
Props
-----