Skip to content

Use name for each thread - #631

Merged
MaciejKaszynski merged 1 commit into
eclipse-score:mainfrom
etas-contrib:thread_names
Sep 14, 2026
Merged

MaciejKaszynski merged 1 commit into
eclipse-score:mainfrom
etas-contrib:thread_names

Conversation

@NicolasFussberger

Copy link
Copy Markdown
Contributor

Each thread shall be given a name:

ThreadPool -> "worker"
Alive Monitoring Thread -> "health_mon"
Os Handler -> "os_handler"
mw::lifecylce signal handlign -> "lcm_signal"

The controlclient thread is intentionally left out, as this complete implementation is about to be removed.

}
// only start thread if everything was ok
m_signal_handler_thread = std::thread(&LifeCycleManager::handle_signal, this); // LCOV_EXCL_BR_LINE
score::os::set_thread_name(m_signal_handler_thread, "lcm_signal");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lcm is needed to identify the thread because it is part of application process.

@MaciejKaszynski
MaciejKaszynski merged commit ebd855e into eclipse-score:main Sep 14, 2026
16 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in LCM - Lifecycle & Health FT Sep 14, 2026

This branch was successfully deployed

1 active deployment
workflow-approval — 0a4f601c Deployed Sep 14, 2026 by NicolasFussberger via Build and test unit-tests-x86_64-qnx / approval #788
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants