sorry about my english,so i send again.thread safety in GNUTLS <https://security.stackexchange.com/questions/165861/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(). 1. In the parent thread, can I use pthread_cancel() to cancel the child thread safety regardless of the current handshake state? 2. If I have registered the pull/pull_timeout/push functions with pthread_cleanup_push/pthread_cleanup_pop, can I cancel the child thread?
_______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
