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

add return statements in wait_concurrently as in kphp #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

astrophysik
Copy link
Contributor

Add return statements for errors and for successful completion

@astrophysik astrophysik changed the title add return statements in wait_concurrently as in kphp add return statements in *wait_concurrently* as in kphp Sep 21, 2022
@astrophysik astrophysik changed the title add return statements in *wait_concurrently* as in kphp add return statements in 'wait_concurrently' as in kphp Sep 21, 2022
@astrophysik astrophysik changed the title add return statements in 'wait_concurrently' as in kphp add return statements in wait_concurrently as in kphp Sep 21, 2022
@DrDet DrDet self-requested a review October 1, 2022 15:46
Copy link
Contributor

@DrDet DrDet left a comment

Choose a reason for hiding this comment

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

Very strange logic inside the function.

@@ -326,9 +326,12 @@ function wait_synchronously($id) {
function wait_concurrently($id) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you figure out what's going on in this function?
As far as I can see, it always requests undefined index at line 333, and the condition !$waiting[$id] is always true

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