summaryrefslogtreecommitdiffstats
path: root/doc/threads.doc
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-03-12 01:44:49 +0300
committerAlexander Golubev <fatzer2@gmail.com>2024-03-14 00:11:47 +0300
commitf610c11869e67d9c79be696de5d5ed69a4761b1b (patch)
tree57dcfdd70d39ae4a69119397e4d9eff002804d8a /doc/threads.doc
parent558bc78e5b4a4d78a3e430c84d790eaa0615fe5e (diff)
downloadtqt-fix/no-thread.tar.gz
tqt-fix/no-thread.zip
TQT_THREAD_SUPPORT->!TQT_NO_THREAD: update documentationfix/no-thread
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'doc/threads.doc')
-rw-r--r--doc/threads.doc18
1 files changed, 6 insertions, 12 deletions
diff --git a/doc/threads.doc b/doc/threads.doc
index 951656b7b..2a81a9efd 100644
--- a/doc/threads.doc
+++ b/doc/threads.doc
@@ -60,18 +60,12 @@ threading see our \link #reading Recommended Reading\endlink list.
When TQt is installed on Windows, thread support is an option on some
compilers.
-On Mac OS X and Unix, thread support is enabled by adding the
-\c{-thread} option when running the \c{configure} script. On Unix
-platforms where multithreaded programs must be linked in special ways,
-such as with a special libc, installation will create a separate
-library, \c{libtqt-mt} and hence threaded programs must be linked
-against this library (with \c{-ltqt-mt}) rather than the standard Qt
-library.
-
-On both platforms, you should compile with the macro \c
-TQT_THREAD_SUPPORT defined (e.g. compile with
-\c{-DTQT_THREAD_SUPPORT}). On Windows, this is usually done by an
-entry in \c{ntqconfig.h}.
+On Mac OS X and Unix, thread support is enabled by default on platforms which
+support it. It might be disabled by adding the \c{-no-thread} option when
+running the \c{configure} script. Due to historical reasons on Unix platforms,
+installation will create a separate library, \c{libtqt-mt} and hence threaded
+programs must be linked against this library (with \c{-ltqt-mt}) rather than
+the standard \c{libtqt} library.
\section1 The Thread Classes