Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-orbit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Katerina Roukounaki
cloud-orbit
Commits
c97ed9e6
Commit
c97ed9e6
authored
Dec 05, 2014
by
Aggelos Giantsios
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Terminate the slaves when the master terminates
parent
0c21388a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Bench.hs
Bench.hs
+1
-0
No files found.
Bench.hs
View file @
c97ed9e6
...
@@ -101,6 +101,7 @@ main = do
...
@@ -101,6 +101,7 @@ main = do
let
bench
=
select_dist_bench
iwp
let
bench
=
select_dist_bench
iwp
liftIO
$
print
$
" "
++
show
slaves
liftIO
$
print
$
" "
++
show
slaves
res
<-
bench
gnrt
n
(
read
w
::
Int
)
slaves
res
<-
bench
gnrt
n
(
read
w
::
Int
)
slaves
SLN
.
terminateAllSlaves
b
liftIO
$
print
res
liftIO
$
print
res
[
"dist"
,
"slave"
,
host
,
port
]
->
do
[
"dist"
,
"slave"
,
host
,
port
]
->
do
b
<-
SLN
.
initializeBackend
host
port
rtable
b
<-
SLN
.
initializeBackend
host
port
rtable
...
...
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