]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: threads: only assign the clock_id when supported
authorWilly Tarreau <w@1wt.eu>
Tue, 21 May 2019 13:14:08 +0000 (15:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 May 2019 13:14:08 +0000 (15:14 +0200)
commit663fda4c90f4ba86d4ba24e9a07b3bdd4ca7f062
treec99542f50d3b2db3cbea3809a42f17af28188840
parent9c8800af3b595e229e1a55aef5a7953ce16cc67f
BUILD: threads: only assign the clock_id when supported

I took extreme care to always check for _POSIX_THREAD_CPUTIME before
manipulating clock_id, except at one place (run_thread_poll_loop) as
found by Manu, breaking Solaris. Now fixed, no backport needed.
src/haproxy.c