summaryrefslogtreecommitdiffstats
path: root/src/doxygen.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-08-05 11:20:36 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-08-05 11:20:36 (GMT)
commit5a2e70a9cde99f6a065d78ad550ed386cdcc83f1 (patch)
tree60f38e90309411c8413ce3160da9c3725a862cca /src/doxygen.h
parent73380fc18508d4f98d61c9929ad786220f320da5 (diff)
downloadDoxygen-5a2e70a9cde99f6a065d78ad550ed386cdcc83f1.zip
Doxygen-5a2e70a9cde99f6a065d78ad550ed386cdcc83f1.tar.gz
Doxygen-5a2e70a9cde99f6a065d78ad550ed386cdcc83f1.tar.bz2
New option allowing processing using multiple threads
Introduces new option NUM_PROC_THREADS. It specifies the number threads doxygen is allowed to use during processing. When set to 0 doxygen will based this on the number of cores available in the system. You can set it explicitly to a value larger than 0 to get more control over the balance between CPU load and processing speed. At this moment only the input processing can be done using multiple threads. I plan to extend this with more parallel processing in the future. Since this is still an experimental feature the default is set to 1, which efficively disables parallel processing. Please report any issues you encounter that appear when changing the default. Note that generating dot graphs in parallel is still controlled separately by the DOT_NUM_THREADS setting.
Diffstat (limited to 'src/doxygen.h')
-rw-r--r--src/doxygen.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/doxygen.h b/src/doxygen.h
index e5757c3..dc05750 100644
--- a/src/doxygen.h
+++ b/src/doxygen.h
@@ -30,19 +30,9 @@
#include "memberlist.h"
#include "define.h"
-#ifndef MULTITHREADED_INPUT
-#define MULTITHREADED_INPUT 0
-#endif
-
-#if MULTITHREADED_INPUT
#define THREAD_LOCAL thread_local
#define AtomicInt std::atomic_int
#define AtomicBool std::atomic_bool
-#else
-#define THREAD_LOCAL
-#define AtomicInt int
-#define AtomicBool bool
-#endif
class RefList;
class PageSList;