[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnutls-dev] Re: living without global variables
From: |
Nikos Mavrogiannopoulos |
Subject: |
[gnutls-dev] Re: living without global variables |
Date: |
Fri, 23 Dec 2005 20:43:33 +0100 |
User-agent: |
KMail/1.8.2 |
On Friday 23 December 2005 14:47, Simon Josefsson wrote:
> > The most serious way that these "variables" change during the
> > lifetime of the application is when a piece (module) of the
> > application does a gnutls_global_deinit(). That would blow up some
> > other module in the same application that happens to be using
> > gnutls.
> 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.
--
Nikos Mavrogiannopoulos
- [gnutls-dev] living without global variables, Bryan Henderson, 2005/12/21
- Re: [gnutls-dev] living without global variables, Nikos Mavrogiannopoulos, 2005/12/21
- Re: [gnutls-dev] living without global variables, Bryan Henderson, 2005/12/22
- Message not available
- [gnutls-dev] Re: living without global variables, Bryan Henderson, 2005/12/24
- Message not available
- [gnutls-dev] Re: living without global variables, Simon Josefsson, 2005/12/25
- [gnutls-dev] Re: living without global variables, Bryan Henderson, 2005/12/25
- [gnutls-dev] Re: living without global variables, Nikos Mavrogiannopoulos, 2005/12/26
- [gnutls-dev] Re: living without global variables, Simon Josefsson, 2005/12/26
- Re: [gnutls-dev] Re: living without global variables, Bryan Henderson, 2005/12/26
- Message not available
- [gnutls-dev] Re: living without global variables, Simon Josefsson, 2005/12/28
- Message not available
- [gnutls-dev] Re: living without global variables, Simon Josefsson, 2005/12/26
Re: [gnutls-dev] living without global variables, Nikos Mavrogiannopoulos, 2005/12/26