From c84c19f5bf9b5e93056789940e38634fdb27a5e8 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 20 Mar 2015 06:43:19 +0300 Subject: Removed old FreeBSD rfork() thread implementation. --- src/os/unix/ngx_thread.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/os/unix/ngx_thread.h') diff --git a/src/os/unix/ngx_thread.h b/src/os/unix/ngx_thread.h index 9d5f72491..b88c963f2 100644 --- a/src/os/unix/ngx_thread.h +++ b/src/os/unix/ngx_thread.h @@ -16,12 +16,6 @@ #define NGX_MAX_THREADS 128 -#if (NGX_USE_RFORK) -#include - - -#else /* use pthreads */ - #include typedef pthread_t ngx_tid_t; @@ -70,8 +64,6 @@ ngx_int_t ngx_mutex_trylock(ngx_mutex_t *m); void ngx_mutex_lock(ngx_mutex_t *m); void ngx_mutex_unlock(ngx_mutex_t *m); -#endif - #define ngx_thread_volatile volatile -- cgit v1.2.3