HomePhabricator

gui: Improve thread naming

Description

gui: Improve thread naming

Summary:

qt: Name RPCConsole executor QThread

qt: Name WalletController worker QThread

qt: Name ClientModel timer QThread

qt: Rename qt-init thread before logging start

This is a backport of core#18790

Test Plan:

$ ninja && src/qt/bitcoin-qt
$ ps -T -p $( ps -ef | grep bitcoin-qt | grep -v "grep" | awk '{print $2}')
    PID    SPID TTY          TIME CMD
  31348   31348 pts/1    00:00:00 bitcoin-qt
  31348   31349 pts/1    00:00:00 QXcbEventQueue
  31348   31350 pts/1    00:00:00 gmain
  31348   31351 pts/1    00:00:00 gdbus
  31348   31352 pts/1    00:00:00 QDBusConnection
  31348   31378 pts/1    00:00:01 b-qt-init
  31348   31379 pts/1    00:00:00 b-scriptch.0
  31348   31380 pts/1    00:00:00 b-scriptch.1
  31348   31381 pts/1    00:00:00 b-scriptch.2
  31348   31382 pts/1    00:00:00 b-scriptch.3
  31348   31383 pts/1    00:00:00 b-scriptch.4
  31348   31384 pts/1    00:00:00 b-scriptch.5
  31348   31385 pts/1    00:00:00 b-scriptch.6
  31348   31386 pts/1    00:00:00 b-scriptch.7
  31348   31387 pts/1    00:00:00 b-scriptch.8
  31348   31388 pts/1    00:00:00 b-scriptch.9
  31348   31389 pts/1    00:00:00 b-scriptch.10
  31348   31390 pts/1    00:00:00 b-scriptch.11
  31348   31391 pts/1    00:00:00 b-scriptch.12
  31348   31392 pts/1    00:00:00 b-scriptch.13
  31348   31393 pts/1    00:00:00 b-scriptch.14
  31348   31394 pts/1    00:00:00 b-scheduler
  31348   31395 pts/1    00:00:00 b-qt-init
  31348   31399 pts/1    00:00:00 b-torcontrol
  31348   31400 pts/1    00:00:00 b-net
  31348   31402 pts/1    00:00:00 b-addcon
  31348   31403 pts/1    00:00:00 b-opencon
  31348   31404 pts/1    00:00:00 b-msghand
  31348   31405 pts/1    00:00:00 b-qt-clientmodl
  31348   31406 pts/1    00:00:00 b-qt-rpcconsole
  31348   31407 pts/1    00:00:00 b-qt-walletctrl
  31348   31409 pts/1    00:00:00 Qt bearer threa

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Apr 27 2020, 16:47
PiRKCommitted on Oct 11 2021, 06:53
PiRKPushed on Oct 11 2021, 06:53
Reviewer
Restricted Project
Differential Revision
D10280: gui: Improve thread naming
Parents
rABCd5381a5e6878: [rpc] Return fee and size from testmempoolaccept
Branches
Unknown
Tags
Unknown