SoftMemes
SoftMemes

Reputation: 5702

In Akka, is ActorContext thread safe?

As per title, can an ActorContext extracted from within an actor be safely used from multiple threads (even those where the actor is not currently executing), for the creation of actors meant to be children of the original actor?

Upvotes: 2

Views: 924

Answers (1)

Viktor Klang
Viktor Klang

Reputation: 26579

No. ActorContext is not thread-safe and shouldn't escape to other threads.

Upvotes: 3

Related Questions