[gnutls-devel] GnuTLS | Build failure without threads (#1330)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Mar 4 16:02:19 CET 2022




Daiki Ueno commented:


Thank you for the report; I guess we probably need to turn `gnutls_static_mutex_lock` etc. into a macro so the call itself will be eliminated at compile time, something like:
```c
#define gnutls_static_mutex_lock(NAME) \
  unlikely(glthread_lock_lock(lock)) ? \
  gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1330#note_863132845
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/20220304/9eb8f5ae/attachment.html>


More information about the Gnutls-devel mailing list