[Help-gnutls] segfault in internal function

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu Apr 14 11:19:08 CEST 2005


On Wednesday 13 April 2005 11:17, Eric Leblond wrote:

Hello Eric,

> * callback need to be declare everywhere or just before
> gnutls_global_init ?
Yes, only before this function.

> * I use glib in the program. It hides pthread functions behind his own
> function. Is it sufficient to declare :
> GCRY_THREAD_OPTION_PTHREAD_IMPL;
I'm not really sure that this is sufficient. It depends on the internals
of glib, that I don't know. So you need to make your own locking callbacks and 
register them as shown in the documentation.

-- 
Nikos Mavrogiannopoulos





More information about the Gnutls-help mailing list