[gnutls-devel] [TLS] multiple clients in one process (was: Re: Deployment ... Re: This working group has failed)
nmav at gnutls.org
Sat Nov 30 10:00:44 CET 2013
On Fri, 2013-11-29 at 18:00 -0600, Nico Williams wrote:
> On Fri, Nov 29, 2013 at 5:43 PM, Nikos Mavrogiannopoulos
> <nmav at gnutls.org> wrote:
> > On Fri, 2013-11-29 at 15:35 -0800, Andy Lutomirski wrote:
> >> Any self-respecting pthreads implementation should implement
> >> PTHREAD_MUTEX_INITIALIZER in such a way that it constant-initializes
> >> its data, making it completely safe. An even better solution would be
> >> to use pthread_once.
> > Unfortuntely that only works with pthreads. What about systems that
> > don't have static initializers for locks? Unfortunately we need a
> > consistent API for all the supported systems.
> See http://stackoverflow.com/questions/3555859/is-it-possible-to-do-static-initialization-of-mutexes-in-windows
That looks interesting thanks.
More information about the Gnutls-devel