2002-05-09 Marcus Brinkmann <marcus@g10code.de>

* gpgme.texi (Multi Threading): Escape { and }.
This commit is contained in:
Marcus Brinkmann 2002-05-09 03:39:18 +00:00
parent 4e0d4d7cf3
commit d9e73425b9
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2002-05-09 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Multi Threading): Escape { and }.
2002-05-09 Marcus Brinkmann <marcus@g10code.de> 2002-05-09 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Overview): Replace note about thread-safeness. * gpgme.texi (Overview): Replace note about thread-safeness.

View File

@ -442,18 +442,18 @@ before any function in the library:
void void
initialize_gpgme (void) initialize_gpgme (void)
{ @{
static int gpgme_init; static int gpgme_init;
static pthread_mutext_t gpgme_init_lock = PTHREAD_MUTEX_INITIALIZER; static pthread_mutext_t gpgme_init_lock = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_lock (&gpgme_init_lock); pthread_mutex_lock (&gpgme_init_lock);
if (!gpgme_init) if (!gpgme_init)
{ @{
gpgme_check_version (); gpgme_check_version ();
gpgme_init = 1; gpgme_init = 1;
} @}
pthread_mutex_unlock (&gpgme_init_lock); pthread_mutex_unlock (&gpgme_init_lock);
} @}
@end example @end example
@item @item