From 16612b360b376d0cb3f50f966e2e671cf80fdc25 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 13 Aug 2008 07:53:35 +0000 Subject: * thread.c, vm_core.h: add manual priority support using time slice. if you enable USE_NATIVE_THREAD_PRIORITY macro, this mechanism is ignored. [ruby-dev:33124] * thread_pthread.c, thread_win32.c: ditto. * test/ruby/test_thread.rb: fix test parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index 25017cdab8..829ac4593e 100644 --- a/vm_core.h +++ b/vm_core.h @@ -432,6 +432,7 @@ struct rb_thread_struct rb_thread_id_t thread_id; enum rb_thread_status status; int priority; + int slice; native_thread_data_t native_thread_data; -- cgit v1.2.3