summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-11-05 21:04:50 +0000
committerAndrew Clayton <a.clayton@nginx.com>2024-11-05 21:04:50 +0000
commit158322ec9b7d2591c33102079c72e9720421f512 (patch)
tree4f0f86904ea9159e38053862fe0e157e2a6b5020 /src
parent1e345b3477ef8ca2eb79a4384dda1858a5a84e41 (diff)
downloadunit-158322ec9b7d2591c33102079c72e9720421f512.tar.gz
unit-158322ec9b7d2591c33102079c72e9720421f512.tar.bz2
auto: Remove unused pthread spinlock checks
When configuring under Linux we always got the following checking for pthread spinlock zero initial value ... found but is not working Having *actually* taken a look at this, this check seems somewhat bogus, the first thing it does is pthread_spinlock_t lock = 0; which you shouldn't do anyway, you should use pthread_spin_init(3) to initialise the pthread_spinlock_t variable. But in any case, this thing, NXT_HAVE_PTHREAD_SPINLOCK_ZERO, isn't even checked for in the code. Neither is NXT_HAVE_PTHREAD_SPINLOCK, we don't use the pthread_spin_* API, but rather roll our own spinlock implementation. So let's just remove these checks, at the very least it'll speed ./configure up! Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions