From 93211001abc86daeb50b9c75eab7672f5fa858a5 Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Tue, 17 Aug 2010 20:03:31 +0200 Subject: [PATCH] some formatting fixes, missing empty lines, literal passthoughs --- doc/multithreading.txt | 3 +++ doc/using.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/multithreading.txt b/doc/multithreading.txt index 54ca618..8ad9afb 100644 --- a/doc/multithreading.txt +++ b/doc/multithreading.txt @@ -11,6 +11,7 @@ When Multithreading is used, log messages contain a identifier of the originating thread. This identifier should be set by PARA NOBUG_THREAD_ID_SET; THREAD_ID_SET; set or reset thread id + NOBUG_THREAD_ID_SET(name) `name`:: @@ -23,12 +24,14 @@ assigns one automatically with the name 'thread' preprended if needed. Thread identifiers may be reset with a new call to this macro. PARA NOBUG_THREAD_ID_GET; THREAD_ID_GET; query thread id + NOBUG_THREAD_ID_GET Will return a const char* of the thread id in multithreaded programs and a pointer to a literal empty string in singlethreaded programs. PARA NOBUG_THREAD_DATA; THREAD_DATA; thread local data for application use + NOBUG_THREAD_DATA Evaluates to a variable of type `void*` which can be used to store diff --git a/doc/using.txt b/doc/using.txt index 8133666..7ed4e5c 100644 --- a/doc/using.txt +++ b/doc/using.txt @@ -94,7 +94,7 @@ PKG_CHECK_MODULES(VALGRIND, [valgrind], For Multithreaded programs, you should also check for the availability of pthreads and flavour with the `ACX_PTHREAD` maxro, see: - http://ac-archive.sourceforge.net/ac-archive/acx_pthread.html[] ++http://ac-archive.sourceforge.net/ac-archive/acx_pthread.html[]+ When the resulting `HAVE_PTHREAD`, `HAVE_EXECINFO_H` and `HAVE_VALGRIND_H` are defined by the configure script, the -- 2.11.4.GIT