Merge with master

This commit is contained in:
Peter Vlugter 2011-12-15 14:27:57 +13:00
commit cf27ca0ab4
219 changed files with 3289 additions and 6683 deletions

View file

@ -63,7 +63,7 @@ object Pi extends App {
pi += value
nrOfResults += 1
// Stops this actor and all its supervised children
if (nrOfResults == nrOfMessages) self.stop()
if (nrOfResults == nrOfMessages) context.stop(self)
//#handle-messages
}
//#master-receive
@ -101,7 +101,7 @@ object Pi extends App {
latch.await()
// Shut down the system
system.stop()
system.shutdown()
}
}
//#app