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

Fix logic error in process_exited(s::ProcessChain) #4791

Merged
merged 1 commit into from
Nov 13, 2013

Conversation

jiahao
Copy link
Member

@jiahao jiahao commented Nov 12, 2013

It looks like process_running(s::ProcessChain) and process_exited(s::ProcessChain) were returning identical values previously.

@StefanKarpinski
Copy link
Sponsor Member

cc: @loladiro, @vtjnash – I assume @jiahao's fix is what was intended.

Keno added a commit that referenced this pull request Nov 13, 2013
Fix logic error in process_exited(s::ProcessChain)
@Keno Keno merged commit 1b51e6a into master Nov 13, 2013
@vtjnash
Copy link
Sponsor Member

vtjnash commented Nov 13, 2013

I can't see the context, but this still might not be quite right. Running() should be any(...) but exited() should be all(...)

@Keno
Copy link
Member

Keno commented Nov 13, 2013

@vtjnash You're right, looking back that should read process_exited(s.processes).

@jiahao jiahao deleted the cjh/process_exited_logic branch November 13, 2013 23:33
@jiahao
Copy link
Member Author

jiahao commented Nov 13, 2013

I think I see the pattern now. Please verify.

@Keno
Copy link
Member

Keno commented Nov 13, 2013

Certainly correct using the semantics mentioned by @vtjnash. Not sure I like the any on running though

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.

4 participants