aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-09-13 18:04:16 +0000
committerMarcus Brinkmann <[email protected]>2003-09-13 18:04:16 +0000
commit33912dcc8694fba72933fc9a34f39bdd3c53ef62 (patch)
treead486d27ce7f0a028a723bf832a593b5c6602415
parent2003-09-13 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-33912dcc8694fba72933fc9a34f39bdd3c53ef62.tar.gz
gpgme-33912dcc8694fba72933fc9a34f39bdd3c53ef62.zip
2003-09-13 Marcus Brinkmann <[email protected]>
* gpgme.texi (Multi Threading): Update documentation.
Diffstat (limited to '')
-rw-r--r--doc/ChangeLog4
-rw-r--r--doc/gpgme.texi21
2 files changed, 14 insertions, 11 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 73065929..16586ed4 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2003-09-13 Marcus Brinkmann <[email protected]>
+
+ * gpgme.texi (Multi Threading): Update documentation.
+
2003-09-03 Marcus Brinkmann <[email protected]>
* gpgme.texi (Header): We don't use the assuan namespace anymore.
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index 1ec4ef50..30837f9a 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -514,18 +514,13 @@ Support for other thread libraries is very easy to add. Please
contact us if you have the need.
@item
-If you link your program dynamically to @acronym{GPGME} and your
-supported thread library, @acronym{GPGME} will automatically detect
-the presence of this library and activate its use. You must link to
-the thread library before linking to @acronym{GPGME}. If you link to
-both pthread and GNU Pth, @acronym{GPGME} will use the pthread
-support. This feature requires weak symbol support.
+If you want to use @acronym{GPGME} with threads, you must link to the
+right version of the library. The name of the right library is
+@code{libgpgme-} followed by the name of the thread package you use.
+For example, if you use GNU Pth, the right name is
+@code{libgpgme-pth}. Use the Automake macros or
+@command{gpgme-config} program for simplicity.
-@item
-If you link your program statically to @acronym{GPGME}, or your system
-does not support weak symbols, there is currently no easy way to make
-sure that @acronym{GPGME} detects the presence of the thread library.
-This will be solved in a future version.
@item
The function @code{gpgme_check_version} must be called before any
@@ -582,6 +577,10 @@ Only one thread at any time is allowed to call @code{gpgme_wait}. If
multiple threads call this function, the caller must make sure that
all invocations are fully synchronized. It is safe to start
asynchronous operations while a thread is running in gpgme_wait.
+
+@item
+The function @code{gpgme_strerror} is not thread safe. You have to
+use @code{gpgme_strerror_r} instead.
@end itemize