Mercurial > hg > nginx
comparison auto/threads @ 6018:466bd63b63d1
Thread pools implementation.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Sat, 14 Mar 2015 17:37:07 +0300 |
parents | |
children | 04ebf29eaf5b |
comparison
equal
deleted
inserted
replaced
6017:83d54192e97b | 6018:466bd63b63d1 |
---|---|
1 | |
2 # Copyright (C) Nginx, Inc. | |
3 | |
4 | |
5 if [ $USE_THREADS = YES ]; then | |
6 | |
7 if [ "$NGX_PLATFORM" = win32 ]; then | |
8 cat << END | |
9 | |
10 $0: --with-threads is not supported on Windows | |
11 | |
12 END | |
13 exit 1 | |
14 fi | |
15 | |
16 have=NGX_THREADS . auto/have | |
17 CORE_DEPS="$CORE_DEPS $THREAD_POOL_DEPS" | |
18 CORE_SRCS="$CORE_SRCS $THREAD_POOL_SRCS" | |
19 CORE_LIBS="$CORE_LIBS -lpthread" | |
20 fi |