Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DPSLN-10] How to stop a master? #6

Open
qnikst opened this issue Jun 17, 2015 · 0 comments
Open

[DPSLN-10] How to stop a master? #6

qnikst opened this issue Jun 17, 2015 · 0 comments

Comments

@qnikst
Copy link
Contributor

qnikst commented Jun 17, 2015

[Imported from JIRA. Reported by Niklas Hambuechen @mail@nh2.me) as DPSLN-10 on 2013-02-13 03:29:04]
I followed the work stealing example frm the Well-Typed blog.

I did not use "terminateAllSlaves", so that I can repeatedly run my master "main" function and get slaves to do multiple rounds of work.

However, I cannot do the same from a single GHCi session.

It looks like "startMaster" can only be called once per GHCi, and successive calls block.

Is that correct? Why is that? How can I "stop" a master, so that I can use "startMaster" from GHCi multiple times?

@qnikst qnikst changed the title How to stop a master? [DPSLN-10] How to stop a master? Jun 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant