You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
". See playground.
As a result, other thread names have to be of style "" to be consistent in logs or other outputs.
Since we only have this one thread that is named by the system, "<>" does not help in distinguishing system threads with other threads.
"main" is simpler, and more consistent with what a name should be.
The change may affect program behaviour though, as the name of the main thread can be used to determine whether the current thread is main thread.
If the main thread name has not been specified in any way, this may be considered not a breaking change.
The text was updated successfully, but these errors were encountered:
WiSaGaN
changed the title
Rename main thread name from "<main>" to "main"
Rename main thread from "<main>" to "main"
May 22, 2016
…hton
Rename main thread from "<main>" to "main".
Fix issue #33789
We may need to discuss whether this counts as a breaking change since code may check the main thread name against "\<main\>". Discussion is in #33789
Currently the main thread is named "
". See playground.As a result, other thread names have to be of style "" to be consistent in logs or other outputs.
Since we only have this one thread that is named by the system, "<>" does not help in distinguishing system threads with other threads.
"main" is simpler, and more consistent with what a name should be.
The change may affect program behaviour though, as the name of the main thread can be used to determine whether the current thread is main thread.
If the main thread name has not been specified in any way, this may be considered not a breaking change.
The text was updated successfully, but these errors were encountered: