[gnutls-devel] GnuTLS | WIP: fixed operation under multiple threads (!935)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Mon Feb 25 17:31:18 CET 2019
Just to be sure, you mean that two threads sending at the same time is not supported, not sending & receiving from 2 different threads.
In which case that should work for us, the creation of receiver/sender threads should act as the required memory barrier (since we spawn the threads after the `gnutls_handshake` call returns); at least as far as the `recv_state` variable is concerned; but then I'm not sure this would work for `initial_negotiation_completed` since it would be modified by the thread completing the handshake at a later time right?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/935#note_144810593
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190225/2670677e/attachment.html>
More information about the Gnutls-devel
mailing list