[gnutls-dev] Re: living without global variables
Nikos Mavrogiannopoulos
nmav at gnutls.org
Fri Dec 23 20:54:33 CET 2005
On Friday 23 December 2005 20:43, Nikos Mavrogiannopoulos wrote:
> > Yes. gnutls_global_deinit() should not be called if you want to
> > continue to use the library. No other function modify that
> > variable.
> Note also that gnutls_global_init() and deinit() count the number of
> times called. So for these variables to be freed the counter must be
> zero. Thus most of these kind of problems are minimized.
I just found out that this wasn't the case. It seems I was sure that
this was the behaviour but I was wrong. Thanks to some changes of
Simon, this should work now.
--
Nikos Mavrogiannopoulos
More information about the Gnutls-devel
mailing list