aboutsummaryrefslogtreecommitdiff
path: root/gdb/maint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/maint.c')
-rw-r--r--gdb/maint.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/maint.c b/gdb/maint.c
index f71cb80..51b803a 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -845,12 +845,7 @@ maintenance_set_profile_cmd (const char *args, int from_tty,
}
#endif
-static int n_worker_threads = 0;
-
-bool worker_threads_disabled ()
-{
- return n_worker_threads == 0;
-}
+static int n_worker_threads = -1;
/* Update the thread pool for the desired number of threads. */
static void