aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_pthread.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-07-05 06:55:54 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-07-05 06:55:54 +0000
commit32fcd5cf64b9f55f9184e98e39f1b2152321a710 (patch)
treef349f2fb8106ba4490ec3f47e7330f160f6f5f9b /src/os/unix/ngx_pthread.c
parent98c1cf18c1a4ffb14ded78e93359f87ee7bdeed4 (diff)
downloadnginx-32fcd5cf64b9f55f9184e98e39f1b2152321a710.tar.gz
nginx-32fcd5cf64b9f55f9184e98e39f1b2152321a710.zip
nginx-0.0.7-2004-07-05-10:55:54 import
Diffstat (limited to 'src/os/unix/ngx_pthread.c')
-rw-r--r--src/os/unix/ngx_pthread.c26
1 files changed, 0 insertions, 26 deletions
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 <ngx_config.h>
-
-#include <ngx_log.h>
-#include <ngx_pthread.h>
-
-
-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;
-}