aboutsummaryrefslogtreecommitdiffstats
path: root/epan/register.c
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2023-02-28 18:13:32 -0500
committerJohn Thacker <johnthacker@gmail.com>2023-02-28 18:15:22 -0500
commit82da7faee6323323d1090d2d4f80966802fb6afc (patch)
treeb5f2438ba0585ca563a247510f5c16abd4a70f4d /epan/register.c
parent18572b433644e717c33be52430b3f38d288744af (diff)
epan: Expand on comment regarding g_atomic_pointer
Related to #17753
Diffstat (limited to 'epan/register.c')
-rw-r--r--epan/register.c5
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;