projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ravenscar port for RISC-V
[deliverable/binutils-gdb.git]
/
gdb
/
maint.c
diff --git
a/gdb/maint.c
b/gdb/maint.c
index 7ab3fdb64c167faf28e92339159daa57806594da..dbc949a61c0a69d7b0c7c5925942f6b3583d97f3 100644
(file)
--- a/
gdb/maint.c
+++ b/
gdb/maint.c
@@
-845,7
+845,12
@@
maintenance_set_profile_cmd (const char *args, int from_tty,
}
#endif
-static int n_worker_threads = -1;
+static int n_worker_threads = 0;
+
+bool worker_threads_disabled ()
+{
+ return n_worker_threads == 0;
+}
/* Update the thread pool for the desired number of threads. */
static void
This page took
0.02831 seconds
and
4
git commands to generate.