File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
benchmarks/src/main/scala/effpi/benchmarks/effpi Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ object CountingActor {
52
52
ploop(RecA )
53
53
} else {
54
54
send(counter, CounterAction .Cheque (self)) >>
55
- read { x : Sum => x match {
55
+ read { ( x : Sum ) => x match {
56
56
case Sum (sum) =>
57
57
endTimePromise.success(System .nanoTime())
58
58
// println(s"The sum of all numbers is $sum")
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ object ForkJoinThroughput {
28
28
var count = 0
29
29
prec(RecA ) {
30
30
if (count < maxMsgs) {
31
- read { _ : Message =>
31
+ read { ( _ : Message ) =>
32
32
count += 1
33
33
ploop(RecA )
34
34
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ object PingPong {
50
50
// println("ping...")
51
51
if (count > 0 ) {
52
52
send(pongRef, Ping (self)) >>
53
- read { x : PongMessage => x match {
53
+ read { ( x : PongMessage ) => x match {
54
54
case PongMessage .Pong =>
55
55
count = count - 1
56
56
// println(s"count = $count")
You can’t perform that action at this time.
0 commit comments