aboutsummaryrefslogtreecommitdiffstats
path: root/components/background_hang_monitor
diff options
context:
space:
mode:
authorNgo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me>2024-03-14 19:40:58 +0900
committerGitHub <noreply@github.com>2024-03-14 10:40:58 +0000
commitb1debf20689949c0acfb06efca70f7fd34dc0854 (patch)
treeb64965dc8ab438ca0d0816ab84c390476e07305a /components/background_hang_monitor
parent78fe461ff28ea800994686b68878d4825016b5f3 (diff)
downloadservo-b1debf20689949c0acfb06efca70f7fd34dc0854.tar.gz
servo-b1debf20689949c0acfb06efca70f7fd34dc0854.zip
fix: missing thread name when spawning (#31656)
* Add missing thread name when spawning * Update namings
Diffstat (limited to 'components/background_hang_monitor')
-rw-r--r--components/background_hang_monitor/background_hang_monitor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/background_hang_monitor/background_hang_monitor.rs b/components/background_hang_monitor/background_hang_monitor.rs
index b364bcea7ca..e57cf4b4f11 100644
--- a/components/background_hang_monitor/background_hang_monitor.rs
+++ b/components/background_hang_monitor/background_hang_monitor.rs
@@ -49,6 +49,7 @@ impl HangMonitorRegister {
let (tether, tether_port) = unbounded();
let _ = thread::Builder::new()
+ .name("BackgroundHangMonitor".to_owned())
.spawn(move || {
let mut monitor = BackgroundHangMonitorWorker::new(
constellation_chan,