Skip to content

Fix/spawn async #17

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

Merged
merged 1 commit into from
Jul 14, 2015
Merged

Fix/spawn async #17

merged 1 commit into from
Jul 14, 2015

Conversation

qnikst
Copy link
Contributor

@qnikst qnikst commented Jun 4, 2015

Extend test-suite with test for already merged PR

@qnikst
Copy link
Contributor Author

qnikst commented Jul 14, 2015

@facundominguez please check this PR, I've extended commit message and rebased it on the top of the current work.

here <-getSelfNode

ev <- try $ spawnAsync here (error "boom")
liftIO $ putStrLn "here"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove or make it more meaningful.

@facundominguez
Copy link
Contributor

👍

Maybe d-p should have a test suite for internal functions like sendCtrlMsg.

Add test that checks if spawnAsync evaluates message to HNF,
and throws exception outside of NC.
@qnikst
Copy link
Contributor Author

qnikst commented Jul 14, 2015

I agree with possible introduction of test in d-p but I'd like to discuss what should be there before.

qnikst added a commit that referenced this pull request Jul 14, 2015
@qnikst qnikst merged commit 6c09156 into haskell-distributed:master Jul 14, 2015
@qnikst qnikst deleted the fix/spawnAsync branch July 14, 2015 11:55
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

Successfully merging this pull request may close these issues.

2 participants