HomePhabricator

Do not expose and consider -logthreadnames when it does not work

Description

Do not expose and consider -logthreadnames when it does not work

Summary:

There are conditions when the HAVE_THREAD_LOCAL macro is undefined what causes the -logthreadnames option does not work -- instead of thread names empty strings [] only are printed in the debug.log file.

This PR does not exposes the -logthreadnames option in such cases.

This is a backport of core#18665

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D9918

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Apr 16 2020, 12:22
PiRKCommitted on Aug 24 2021, 13:09
PiRKPushed on Aug 24 2021, 13:09
Reviewer
Restricted Project
Differential Revision
D9918: Do not expose and consider -logthreadnames when it does not work
Parents
rABC4b9da754fd78: test: Bump timeout in wallet_import_rescan
Branches
Unknown
Tags
Unknown