diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-08 06:37:46 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-08 06:37:46 +0000 |
commit | 9c574383a430c815406fb343e9adba18e348b5a3 (patch) | |
tree | 4c4a826810bfa165017a86b763bc716e24195981 /thread_win32.ci | |
parent | 522f948a0ce5caaf3a44c06045a439c190d8f861 (diff) |
* blockinlining.c, error.c, eval.c, eval_error.h, eval_intern.h,
eval_jump.h, eval_load.c, eval_safe.h, gc.c, proc.c, signal.c,
thread.c, thread_pthread.ci, thread_win32.ci, vm.c, vm.h,
vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:
fix typo (rb_thead_t -> rb_thread_t).
* eval_intern.h: remove unused definitions.
* common.mk: fix around vm_opts.h path
and remove harmful argument passed to insns2vm.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.ci')
-rw-r--r-- | thread_win32.ci | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/thread_win32.ci b/thread_win32.ci index 27ea4f0117..e8d7facbaf 100644 --- a/thread_win32.ci +++ b/thread_win32.ci @@ -23,7 +23,7 @@ static void Init_native_thread() { - rb_thead_t *th = GET_THREAD(); + rb_thread_t *th = GET_THREAD(); DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), @@ -53,7 +53,7 @@ w32_show_error_message() } static int -w32_wait_event(HANDLE event, DWORD timeout, rb_thead_t *th) +w32_wait_event(HANDLE event, DWORD timeout, rb_thread_t *th) { HANDLE events[2]; int count = 0; @@ -94,7 +94,7 @@ w32_wait_event(HANDLE event, DWORD timeout, rb_thead_t *th) } static void -native_sleep(rb_thead_t *th, struct timeval *tv) +native_sleep(rb_thread_t *th, struct timeval *tv) { DWORD msec; if (tv) { @@ -199,13 +199,13 @@ native_mutex_initialize(rb_thread_lock_t *lock) } NOINLINE(static int - thread_start_func_2(rb_thead_t *th, VALUE *stack_start)); + thread_start_func_2(rb_thread_t *th, VALUE *stack_start)); void static thread_cleanup_func(void *th_ptr); static unsigned int _stdcall thread_start_func_1(void *th_ptr) { - rb_thead_t *th = th_ptr; + rb_thread_t *th = th_ptr; VALUE stack_start; /* run */ th->native_thread_data.interrupt_event = CreateEvent(0, TRUE, FALSE, 0); @@ -241,7 +241,7 @@ w32_create_thread(DWORD stack_size, void *func, void *val) } static int -native_thread_create(rb_thead_t *th) +native_thread_create(rb_thread_t *th) { size_t stack_size = 4 * 1024 - sizeof(int); /* 4KB */ @@ -266,7 +266,7 @@ native_thread_join(HANDLE th) } static void -native_thread_apply_priority(rb_thead_t *th) +native_thread_apply_priority(rb_thread_t *th) { int priority = th->priority; if (th->priority > 0) { @@ -283,7 +283,7 @@ native_thread_apply_priority(rb_thead_t *th) } static void -native_thread_interrupt(rb_thead_t *th) +native_thread_interrupt(rb_thread_t *th) { thread_debug("native_thread_interrupt: %p\n", th); SetEvent(th->native_thread_data.interrupt_event); |