在Akka中,ActorContext线程安全吗?

时间:2012-06-23 15:08:17

标签: thread-safety akka

根据标题,从actor中提取的ActorContext是否可以安全地从多个线程(甚至是当前没有执行actor的那些线程)中使用,用于创建原始actor的子元素的actor?

1 个答案:

答案 0 :(得分:3)

没有。 ActorContext是not thread-safe,不应该转义到其他线程。