Page MenuHomePhabricator

gui: Improve thread naming
ClosedPublic

Authored by PiRK on Fri, Oct 8, 09:38.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC398c7720aad9: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable