4.4 Multi Threading
The libgcrypt library is thread-safe if you adhere to the following
requirements:
- Run the initialization functions before you actually start
to use threads.
- Only one thread at a time may access an libassuan context.
- Use
assuan_set_assuan_log_stream
to setup a default log stream.