summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-05-07 07:33:18 -0600
committerKarl Williamson <khw@cpan.org>2022-05-07 11:17:13 -0600
commit233df14641e7f9fde061126c16257937f8558223 (patch)
tree4bdfe49fcc7d2cc1feeee4b3fd7ba29e47e1f2b2 /op.h
parent07663426bb34c980cf8f96345cfe6c4a1af736d4 (diff)
downloadperl-233df14641e7f9fde061126c16257937f8558223.tar.gz
op.h: Add comment
Diffstat (limited to 'op.h')
-rw-r--r--op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.h b/op.h
index df2807b30f..63be5433da 100644
--- a/op.h
+++ b/op.h
@@ -608,7 +608,7 @@ typedef enum {
# ifdef PERL_CORE
# define OP_REFCNT_LOCK MUTEX_LOCK(&PL_op_mutex)
# define OP_REFCNT_UNLOCK MUTEX_UNLOCK(&PL_op_mutex)
-# else
+# else /* Subject non-core uses to clang thread safety analysis */
# define OP_REFCNT_LOCK op_refcnt_lock()
# define OP_REFCNT_UNLOCK op_refcnt_unlock()
# endif