]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: shctx: remove the different inter-process locking techniques
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Jun 2021 14:11:33 +0000 (16:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 15 Jun 2021 14:52:42 +0000 (16:52 +0200)
commit6fd0450b47ce81dacc53057e5e05d1c2920fdf82
treee4bc117f7e2161f4405db14d1a32e00667c6d2c2
parentb54ca70e7c86a064f5fb906b5fa31c316cda4d54
CLEANUP: shctx: remove the different inter-process locking techniques

With a single process, we don't need to USE_PRIVATE_CACHE, USE_FUTEX
nor USE_PTHREAD_PSHARED anymore. Let's only keep the basic spinlock
to lock between threads.
INSTALL
Makefile
include/haproxy/shctx-t.h
include/haproxy/shctx.h
src/haproxy.c
src/shctx.c