summaryrefslogtreecommitdiff
path: root/source/include/platform/acenv.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/platform/acenv.h')
-rw-r--r--source/include/platform/acenv.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/include/platform/acenv.h b/source/include/platform/acenv.h
index 6150f2b5f6467..051c3bbc29735 100644
--- a/source/include/platform/acenv.h
+++ b/source/include/platform/acenv.h
@@ -297,6 +297,7 @@
#define ACPI_INTERNAL_VAR_XFACE
#endif
+
/*
* Debugger threading model
* Use single threaded if the entire subsystem is contained in an application
@@ -306,11 +307,11 @@
* multi-threaded if ACPI_APPLICATION is not set.
*/
#ifndef DEBUGGER_THREADING
-#ifdef ACPI_APPLICATION
-#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED
+#if !defined (ACPI_APPLICATION) || defined (ACPI_EXEC_APP)
+#define DEBUGGER_THREADING DEBUGGER_MULTI_THREADED
#else
-#define DEBUGGER_THREADING DEBUGGER_MULTI_THREADED
+#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED
#endif
#endif /* !DEBUGGER_THREADING */