On 11/19/2010 03:46 PM, Jay Anra wrote:
> answering your question: 'Do you call  gnutls_handshake in parallel from
> different threads?'
> 
> Sort of, although not explicitly. It's a consequence of using asynchronous
> sockets. The concurrency comes
> from the interrupt generated by the SIGIO signal, which gets sent to my
> process when data arrives on the socket.
> Obviously I have no control over the timing of this signal, so it may cause
> concurrent calls to gnutls_handshake()
> or it may not.

I still cannot understand why you need to call gnutls_handshake() in a
concurrent way. Could you explain your scenario? In any case all gnutls
functions are reentrant as long as each session is handled in a single
thread.

regards,
Nikos

_______________________________________________
Help-gnutls mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to