Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
0efa33c2
Commit
0efa33c2
authored
Aug 31, 2012
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed debug output
parent
e7c8bc4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
benchmarks/scala/MixedCase.scala
benchmarks/scala/MixedCase.scala
+1
-6
No files found.
benchmarks/scala/MixedCase.scala
View file @
0efa33c2
...
...
@@ -6,7 +6,6 @@ import scala.actors.Actor
import
scala.actors.Actor._
import
akka.actor.
{
Props
,
Actor
=>
AkkaActor
,
ActorRef
=>
AkkaActorRef
,
ActorSystem
}
import
scala.annotation.tailrec
import
System.out.println
case
class
Token
(
value
:
Int
)
case
class
Init
(
ringSize
:
Int
,
initialTokenValue
:
Int
,
repetitions
:
Int
)
...
...
@@ -213,7 +212,7 @@ class AkkaSupervisor(numMessages: Int) extends AkkaActor {
}
def
receive
=
{
case
Factors
(
f
)
=>
global
.
checkFactors
(
f
);
inc
case
MasterExited
=>
println
(
"master exited"
);
inc
case
MasterExited
=>
inc
}
}
...
...
@@ -235,12 +234,8 @@ class MixedCase(numRings: Int, ringSize: Int, initToken: Int, reps: Int) {
val
s
=
system
.
actorOf
(
Props
(
new
AkkaSupervisor
(
numMessages
)))
for
(
_
<-
0
until
numRings
)
system
.
actorOf
(
Props
(
new
AkkaChainMaster
(
s
,
system
)))
!
initMsg
import
System.out.println
println
(
"awaiting latch"
)
global
.
latch
.
await
println
(
"shutdown akka system"
)
system
.
shutdown
println
(
"exit"
);
System
.
exit
(
0
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment