-
Notifications
You must be signed in to change notification settings - Fork 48
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 spawned threads #145
Name spawned threads #145
Conversation
Name spawned threads to make things more clear during debugging and profiling.
83f0321
to
c2f467c
Compare
This probably conflicts with #133, which IMO should be merged first to stay chronological. |
Nice. Since we know we're running on Android maybe we can drop the 'android-' prefix even, unless the Java main thread is already called 'main' perhaps? |
The reasoning for the But how about:
|
Yeah, I think I wouldn't be super keen on having 'activity' in the name since the Activity is really something that exists on the JVM side of things which might then be misleading. Something like |
Agreed!
Sounds good - let's use Pushed a commit to use |
Okey, @MarijnS95's updated PR for #133 ended up naming the stdio-to-logcat thread as proposed here (it made sense to do the rename while anyway factoring out a shared utility for spawning that thread), so its just the |
👍 - merge conflict has now been resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks good to me
Name spawned threads to make things more clear during debugging and profiling.
Max thread name is 15, so we can't fit more descriptive names like
android-activity-main
(but open for some other naming scheme).