threads 363 B

123456789101112131415161718192021
  1. # Copyright (C) Nginx, Inc.
  2. if [ $USE_THREADS = YES ]; then
  3. if [ "$NGX_PLATFORM" = win32 ]; then
  4. cat << END
  5. $0: --with-threads is not supported on Windows
  6. END
  7. exit 1
  8. fi
  9. have=NGX_THREADS . auto/have
  10. CORE_DEPS="$CORE_DEPS $THREAD_POOL_DEPS"
  11. CORE_SRCS="$CORE_SRCS $THREAD_POOL_SRCS"
  12. CORE_LIBS="$CORE_LIBS -lpthread"
  13. fi