fix: Add missing methods in asyncThreadFunction

Add generateEventsAndResumeStoppedThreads() and sendInterrupts()
in asyncThreadFunction().

Related-To: NEO-11014
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
Jitendra Sharma
2024-04-02 12:54:56 +00:00
committed by Compute-Runtime-Automation
parent 6ce8642625
commit 27c3a4753d
3 changed files with 39 additions and 0 deletions

View File

@@ -102,6 +102,8 @@ void *DebugSessionLinuxXe::asyncThreadFunction(void *arg) {
while (self->asyncThread.threadActive) {
self->handleEventsAsync();
self->generateEventsAndResumeStoppedThreads();
self->sendInterrupts();
}
PRINT_DEBUGGER_INFO_LOG("Debugger async thread closing\n", "");