Skip to content

improve process state management #203

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
Apr 2, 2021

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Apr 2, 2021

motivation: reports on hang process (mostly tests)

changes:

  • refactor Process to use a state machine to track the process execution state
  • replace use of DispatchQueue with Locks to protect state

rdar://76087764

@tomerd
Copy link
Contributor Author

tomerd commented Apr 2, 2021

@swift-ci test

motivation: reports on hang process (mostly tests)

changes:
* refactor Process to use a state machine to track the process execution state
* replace use of DispatchQueue with Locks to protect state

rdar://76087764
@tomerd tomerd force-pushed the refactor/process-state branch from 7ab1fec to ce7132b Compare April 2, 2021 17:01
@tomerd
Copy link
Contributor Author

tomerd commented Apr 2, 2021

@swift-ci please test

@tomerd
Copy link
Contributor Author

tomerd commented Apr 2, 2021

@abertelrud thanks for the review, amended

Copy link
Contributor

@abertelrud abertelrud left a comment

Choose a reason for hiding this comment

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

Looks good to me now. Thanks!

@tomerd tomerd merged commit e626b7e into swiftlang:main Apr 2, 2021
compnerd added a commit that referenced this pull request Apr 8, 2021
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.

3 participants