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

Name Python threads. #2767

Merged
merged 1 commit into from
Aug 30, 2018
Merged

Conversation

robertnishihara
Copy link
Collaborator

This may come in handy for debugging.

@robertnishihara robertnishihara requested a review from mitar August 29, 2018 23:11
t = threading.Thread(target=self._periodically_flush_profile_events)
t = threading.Thread(
target=self._periodically_flush_profile_events,
name="ray_push_profiling_information")
# Making the thread a daemon causes it to exit when the main thread
# exits.
t.daemon = True
Copy link
Member

Choose a reason for hiding this comment

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

That is also an argument, but not sure since which Python version.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/7869/
Test PASSed.

@pcmoritz pcmoritz merged commit 224d38c into ray-project:master Aug 30, 2018
@robertnishihara robertnishihara deleted the namethreads branch November 17, 2018 02:20
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