aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_os_thread.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-28 08:34:51 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-09-28 08:34:51 +0000
commitd90282d8ba69973d6612c405e52636085623ddcd (patch)
tree59e36e780b2f5b8f9348013d3037f8fc06ba0247 /src/os/win32/ngx_os_thread.c
parent6d2a14aa906b1d576d5151b2410b59cfcab5edd4 (diff)
downloadnginx-d90282d8ba69973d6612c405e52636085623ddcd.tar.gz
nginx-d90282d8ba69973d6612c405e52636085623ddcd.zip
nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused files
Diffstat (limited to 'src/os/win32/ngx_os_thread.c')
-rw-r--r--src/os/win32/ngx_os_thread.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/os/win32/ngx_os_thread.c b/src/os/win32/ngx_os_thread.c
deleted file mode 100644
index c9d540cc1..000000000
--- a/src/os/win32/ngx_os_thread.c
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-#include <ngx_config.h>
-
-#include <ngx_log.h>
-#include <ngx_os_thread.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)
-{
- ngx_os_tid_t id;
- int dummy; /* needed in Win9X only, in NT can be NULL */
-
- id = CreateThread(NULL, stack_size, func, arg, 0, &dummy);
-
- if (id == NULL) {
- ngx_log_error(NGX_LOG_ERR, log, err, "CreateThread() failed");
- return NGX_ERROR;
- }
-
- *tid = id;
-
- return NGX_OK;
-}