From d90282d8ba69973d6612c405e52636085623ddcd Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 28 Sep 2004 08:34:51 +0000 Subject: nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused files --- src/os/win32/ngx_os_thread.c | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/os/win32/ngx_os_thread.c (limited to 'src/os/win32/ngx_os_thread.c') 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 - -#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) -{ - 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; -} -- cgit