From 32fcd5cf64b9f55f9184e98e39f1b2152321a710 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 5 Jul 2004 06:55:54 +0000 Subject: nginx-0.0.7-2004-07-05-10:55:54 import --- src/os/unix/ngx_pthread.c | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/os/unix/ngx_pthread.c (limited to 'src/os/unix/ngx_pthread.c') diff --git a/src/os/unix/ngx_pthread.c b/src/os/unix/ngx_pthread.c deleted file mode 100644 index 2491032a4..000000000 --- a/src/os/unix/ngx_pthread.c +++ /dev/null @@ -1,26 +0,0 @@ - - -#include - -#include -#include - - -int ngx_create_os_thread(ngx_os_tid_t *tid, void *stack, - ngx_thread_start_routine_t func, void *arg, - ngx_log_t log) -{ - int err; - pthread_attr_t *attr; - - attr = NULL; - - err = pthread_create(tid, attr, func, arg); - - if (err != 0) { - ngx_log_error(NGX_LOG_ERR, log, err, "pthread_create() failed"); - return NGX_ERROR; - } - - return NGX_OK; -} -- cgit v1.2.3