2002-05-09 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Multi Threading): Escape { and }.
This commit is contained in:
parent
4e0d4d7cf3
commit
d9e73425b9
@ -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>
|
||||
|
||||
* gpgme.texi (Overview): Replace note about thread-safeness.
|
||||
|
@ -442,18 +442,18 @@ before any function in the library:
|
||||
|
||||
void
|
||||
initialize_gpgme (void)
|
||||
{
|
||||
@{
|
||||
static int gpgme_init;
|
||||
static pthread_mutext_t gpgme_init_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
pthread_mutex_lock (&gpgme_init_lock);
|
||||
if (!gpgme_init)
|
||||
{
|
||||
@{
|
||||
gpgme_check_version ();
|
||||
gpgme_init = 1;
|
||||
}
|
||||
@}
|
||||
pthread_mutex_unlock (&gpgme_init_lock);
|
||||
}
|
||||
@}
|
||||
@end example
|
||||
|
||||
@item
|
||||
|
Loading…
Reference in New Issue
Block a user