From 9270717e824b1029f26bd9f11cf22ec5328b02ae Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 8 Jul 2025 10:22:16 -0400 Subject: [PATCH] MT#63171 SystemDSM: use AmEventQueueThread Facilitate thread shutdown Change-Id: I376b580b8b38d9d119e729006b10725e580e4b63 --- apps/dsm/SystemDSM.cpp | 6 +++--- apps/dsm/SystemDSM.h | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/dsm/SystemDSM.cpp b/apps/dsm/SystemDSM.cpp index 3f666a1b..8a5d1632 100644 --- a/apps/dsm/SystemDSM.cpp +++ b/apps/dsm/SystemDSM.cpp @@ -12,9 +12,9 @@ SystemDSM::SystemDSM(const DSMScriptConfig& config, const string& startDiagName, - bool reload) - : AmEventQueue(this), - startDiagName(startDiagName), dummy_session(this), + bool reload) + : AmEventQueueThread(this), + startDiagName(startDiagName), dummy_session(this), reload(reload) { config.diags->addToEngine(&engine); diff --git a/apps/dsm/SystemDSM.h b/apps/dsm/SystemDSM.h index 1d5f29e2..12f846c4 100644 --- a/apps/dsm/SystemDSM.h +++ b/apps/dsm/SystemDSM.h @@ -24,8 +24,7 @@ class EventProxySession }; class SystemDSM -: public AmEventQueue, - public AmThread, +: public AmEventQueueThread, public AmEventHandler, public DSMSession