i want to use to child pthread to handshake with remote peer.
in my child pthead , i just use gnutls_handshake().

quetion one:
can i use pthread_cancel()  to cancel the child pthread regardless of the
current handshake state ?

question two:
if i have registered the pull/pull_timeout/push funciton with
pthread_cleanup_push/pthread_cleanup_pop,
can i cancel the child process?

thanks in advance.
_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to