#1299 - Removing reply and tryReply, preparing the way for 'sender ! response'

This commit is contained in:
Viktor Klang 2011-10-19 16:59:47 +02:00
parent 2d4251fcee
commit 77dc9e9c35
61 changed files with 144 additions and 186 deletions

View file

@ -43,7 +43,7 @@ object Pi extends App {
def receive = {
case Work(start, nrOfElements)
reply(Result(calculatePiFor(start, nrOfElements))) // perform the work
channel ! Result(calculatePiFor(start, nrOfElements)) // perform the work
}
}