aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_thread.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2015-03-20 06:43:19 +0300
committerRuslan Ermilov <ru@nginx.com>2015-03-20 06:43:19 +0300
commitc84c19f5bf9b5e93056789940e38634fdb27a5e8 (patch)
tree68e4f342df7e5c922b6059018b588c1d53057ffa /src/os/unix/ngx_thread.h
parentc34368715f9e6639f11e9c1a70272668085d6886 (diff)
downloadnginx-c84c19f5bf9b5e93056789940e38634fdb27a5e8.tar.gz
nginx-c84c19f5bf9b5e93056789940e38634fdb27a5e8.zip
Removed old FreeBSD rfork() thread implementation.
Diffstat (limited to 'src/os/unix/ngx_thread.h')
-rw-r--r--src/os/unix/ngx_thread.h8
1 files changed, 0 insertions, 8 deletions
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 <ngx_freebsd_rfork_thread.h>
-
-
-#else /* use pthreads */
-
#include <pthread.h>
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