]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Check for and use gettid() directly if available; glibc 2.30 and later
authorJoe Orton <jorton@apache.org>
Tue, 7 Jul 2020 13:40:15 +0000 (13:40 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 7 Jul 2020 13:40:15 +0000 (13:40 +0000)
commit33d99cf67f4bbdce86be0a0fdbb3d26f18e0f2a7
tree6f4ae663614add01978478726de007b673219102
parent023a72b977663bfdb63c12d21bbe2d1c7c530ce7
Check for and use gettid() directly if available; glibc 2.30 and later
provides a wrapper for the system call:

* configure.in: Check for gettid() and define HAVE_SYS_GETTID if
  gettid() is only usable via syscall().

* server/log.c (log_tid): Use gettid() directly if available.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879591 13f79535-47bb-0310-9956-ffa450edef68
configure.in
server/log.c