summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-09-17 16:37:17 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-09-17 16:37:17 +0300
commit4bb45250314ad0c26ce7f5578a173340007276de (patch)
tree488c08c6a7eda1d72967d3d21f967bc25a996954 /auto
parent74b69f5e95ce6a3fea4bbe0f681afcc4b8ecdec9 (diff)
downloadunit-4bb45250314ad0c26ce7f5578a173340007276de.tar.gz
unit-4bb45250314ad0c26ce7f5578a173340007276de.tar.bz2
Removed deprecated MacOSX OSSpinLockLock().
Diffstat (limited to '')
-rw-r--r--auto/threads23
1 files changed, 0 insertions, 23 deletions
diff --git a/auto/threads b/auto/threads
index d6efc7cd..ff33eaac 100644
--- a/auto/threads
+++ b/auto/threads
@@ -123,29 +123,6 @@ if [ $nxt_found = yes ]; then
fi
-if [ $nxt_found = no ]; then
-
- # MacOSX spinlock(3).
-
- nxt_feature="MacOSX spinlock"
- nxt_feature_name=NXT_HAVE_MACOSX_SPINLOCK
- nxt_feature_run=yes
- nxt_feature_incs=
- nxt_feature_libs=$NXT_PTHREAD
- nxt_feature_test="#include <libkern/OSAtomic.h>
-
- int main() {
- OSSpinLock lock = 0;
-
- if (OSSpinLockTry(&lock) == 0)
- return 1;
- OSSpinLockUnlock(&lock);
- return 0;
- }"
- . auto/feature
-fi
-
-
nxt_feature="sem_timedwait()"
nxt_feature_name=NXT_HAVE_SEM_TIMEDWAIT
nxt_feature_run=yes