Mercurial > hg > nginx
diff src/os/unix/ngx_thread.h @ 6028:fa77496b1df2
Removed old FreeBSD rfork() thread implementation.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 20 Mar 2015 06:43:19 +0300 |
parents | 466bd63b63d1 |
children | e284f3ff6831 |
line wrap: on
line diff
--- 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 void ngx_mutex_lock(ngx_mutex_t *m); void ngx_mutex_unlock(ngx_mutex_t *m); -#endif - #define ngx_thread_volatile volatile