[gnutls-help] pthread safety
chengwei.clx at gmail.com
Mon Jul 24 11:55:42 CEST 2017
sorry about my english,so i send again.thread safety in GNUTLS
The version of GNUTLS is 3.5. I want to use a child thread to handshake
with remote peer. In my child thread, I just use gnutls_handshake().
In the parent thread, can I use pthread_cancel() to cancel the child
thread safety regardless of the current handshake state?
If I have registered the pull/pull_timeout/push functions with
pthread_cleanup_push/pthread_cleanup_pop, can I cancel the child thread?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-help