fsh
fsh

Reputation: 339

Indeterministic behavior of actors in concurrency example

I've recently wanted to give Scala a try and I started by reading book 'Programming Scala' by O'Reilly. I've tried example from this page: http://programming-scala.labs.oreilly.com/ch01.html#ATasteOfConcurrency and I get different results each time I run the shapes-actor-script - sometimes only first line of output is produced, sometimes the whole output, sometimes no output at all. I am using scala 2.7.7.

Upvotes: 0

Views: 139

Answers (1)

Related Questions