Skip to content

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

Open
@qnikst

Description

@qnikst

[Imported from JIRA. Reported by Niklas Hambuechen @[email protected]) 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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions