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

[Process] Fix potential race condition#17276

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

Merged
nicolas-grekas merged 1 commit intosymfony:2.3fromnicolas-grekas:fix-race
Jan 6, 2016

Conversation

@nicolas-grekas
Copy link
Member

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

As seen athttps://travis-ci.org/symfony/symfony/jobs/100448880#L2768, ProcessTest::testRunProcessWithTimeout can create an infinite blocking situation.
I found two potential code paths that could be subject to a race condition. This fixes them.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

@nicolas-grekasnicolas-grekasforce-pushed thefix-race branch 17 times, most recently frombcf4ad3 to1768a92CompareJanuary 6, 2016 09:06
@nicolas-grekas
Copy link
MemberAuthor

Looks good, I triggered a bunch of builds without any failure so far

@stof
Copy link
Member

stof commentedJan 6, 2016

looks good to me. 👍

@romainneutron
Copy link
Contributor

LGTM 👍

@nicolas-grekasnicolas-grekas merged commitb114a85 intosymfony:2.3Jan 6, 2016
nicolas-grekas added a commit that referenced this pull requestJan 6, 2016
This PR was merged into the 2.3 branch.Discussion----------[Process] Fix potential race condition| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -As seen athttps://travis-ci.org/symfony/symfony/jobs/100448880#L2768, ProcessTest::testRunProcessWithTimeout can create an infinite blocking situation.I found two potential code paths that could be subject to a race condition. This fixes them.Commits-------b114a85 [Process] Fix potential race condition
@nicolas-grekasnicolas-grekas deleted the fix-race branchJanuary 6, 2016 09:58
This was referencedJan 14, 2016
@fabpotfabpot mentioned this pull requestJan 14, 2016
@fabpotfabpot mentioned this pull requestFeb 3, 2016
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

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@stof@romainneutron@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp