[gnutls-devel] GnuTLS | priority: rework config reloading logic and locking (!1483)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue Nov 2 17:16:17 CET 2021
Daiki Ueno commented on a discussion on lib/priority.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1483#note_721319877
> * allow it to be updated without restarting
> * all applications
> + GNUTLS_STATIC_MUTEX_LOCK(system_wide_config_mutex);
One minor thing on excluding the mtime check from the wrlock section is that, when there is a contention, it would require extra `stat` syscall after obtaining wrlock (because the timestamp may have changed while waiting).
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1483#note_721319877
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel