Hi,

I am using libcurl to develop an appilication to do xml requests.
These requests are using HTTPS so the libgnutls and libgcrypt is used.
It uses multiple threads to do requests. Most of the time it runes
fine but sometimes I get the following error:

"ath.c:193: _gcry_ath_mutex_lock: Assertion '*lock == ((ath_mutex_t)"

What causes this?

I have read the documentation about thread safety and I have the
following lines in my code.

GCRY_THREAD_OPTION_PTHREAD_IMPL;

gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
gnutls_global_init();

Appreciate your help!

Paul Salters
The Netherlands

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to