diff options
author | John Thacker <johnthacker@gmail.com> | 2023-02-28 18:13:32 -0500 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2023-02-28 18:15:22 -0500 |
commit | 82da7faee6323323d1090d2d4f80966802fb6afc (patch) | |
tree | b5f2438ba0585ca563a247510f5c16abd4a70f4d /epan | |
parent | 18572b433644e717c33be52430b3f38d288744af (diff) |
epan: Expand on comment regarding g_atomic_pointer
Related to #17753
Diffstat (limited to 'epan')
-rw-r--r-- | epan/register.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/register.c b/epan/register.c index d8c0eda839..1f8f2c2fa5 100644 --- a/epan/register.c +++ b/epan/register.c @@ -18,8 +18,9 @@ #include "epan/dissectors/dissectors.h" static const char *cur_cb_name = NULL; -// We could use g_atomic_pointer_set/get instead of a mutex, but that's -// currently (early 2018) invisible to TSAN. +// We could use g_atomic_pointer_set/get instead of a mutex, but that causes +// a false positive with Clang and TSAN for GLib < 2.64.0 (Issue #17753): +// https://gitlab.gnome.org/GNOME/glib/-/issues/1843 static GMutex cur_cb_name_mtx; static GAsyncQueue *register_cb_done_q; |