summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/interfaces/libpq/libpq_check.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/libpq/libpq_check.pl b/src/interfaces/libpq/libpq_check.pl
index 835638cc5a2..dd03e6864fd 100755
--- a/src/interfaces/libpq/libpq_check.pl
+++ b/src/interfaces/libpq/libpq_check.pl
@@ -63,6 +63,10 @@ while (<$fh>)
# exit.
next if /__tsan_func_exit/;
+ # Excluding pthread_exit allows legitimate thread terminations in some
+ # builds.
+ next if /pthread_exit/;
+
# Anything containing "exit" is suspicious.
# (Ideally we should reject abort() too, but there are various scenarios
# where build toolchains insert abort() calls, e.g. to implement