Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix wrong loop in Process::wait() method#29021

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

@Nek-
Copy link
Contributor

The while condition was the opposite of the previous while. This was obviously leading to the death of this loop. Loop which was useful according to some people (see#28940), so I just moved the code to the right position.

QA
Branch?2.8 (want me to make it against 2.8 ?)
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT

I tested some process execution in order to be sure the code is never executed. I also noticed that there's no CPU issue without this sleep (kubuntu 18.04 / intel i7 2k):
image

The while condition was the opposite of the previous while.This was obviously leading to the death of this loop. Loop whichwas useful according to some people (seesymfony#28940), so I just movedthe code to the right position.
@Nek-Nek-force-pushed thefix/wrong-loop-on-wait-for-process branch from1fcbc53 tob038eb2CompareOctober 29, 2018 23:49
@nicolas-grekas
Copy link
Member

bug fix => 2.8 yes :)

@nicolas-grekasnicolas-grekas added this to the2.8 milestoneOct 30, 2018
@Nek-
Copy link
ContributorAuthor

nevermind; this fix is wrong. Everything is useful here.

@Nek-Nek- closed thisOct 30, 2018
@Nek-Nek- deleted the fix/wrong-loop-on-wait-for-process branchOctober 30, 2018 17:39
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

2.8

Development

Successfully merging this pull request may close these issues.

3 participants

@Nek-@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp