:) thank you from your answer! yes, I'm trying to test my actor system with dispatchers, and need both heavy and light weight actors for my test ;
Please let me see if I understand your answer correctly, do you mean that if I use thread.sleep(5000) inside an actor, the actor does not leave it's thread at all? and the thread is idle and jobless for 5 seconds? :) thanks again On Thursday, October 15, 2015 at 12:34:05 AM UTC+3:30, Nicholas Sterling wrote: > > Fahlmeh, hopefully you are talking about some form of test -- in a > production system, you would not want to use thread.sleep. > > But to answer your question, yes -- if your actor calls thread.sleep, it > really ties up a thread. > > Nicholas > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.