diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-10 14:54:50 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-10 14:54:50 +0000 |
| commit | e2936c16766e85cc9c61514e02917399afff6f5d (patch) | |
| tree | b61cf7b45e601b9d0d891cf292c1186255f814e3 /thread_pthread.ci | |
| parent | 7e693135877069595b6ce706e638e4b25de76da5 (diff) | |
| download | ruby-e2936c16766e85cc9c61514e02917399afff6f5d.tar.gz ruby-e2936c16766e85cc9c61514e02917399afff6f5d.tar.xz ruby-e2936c16766e85cc9c61514e02917399afff6f5d.zip | |
* thread.c (thread_create_core): inherit the priority of creating
thread. submitted at [ruby-core:11873] by David Flanagan <david AT
davidflanagan.com>. [ruby-core:11876]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.ci')
| -rw-r--r-- | thread_pthread.ci | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/thread_pthread.ci b/thread_pthread.ci index f9498f878..d624e9848 100644 --- a/thread_pthread.ci +++ b/thread_pthread.ci @@ -285,7 +285,6 @@ native_thread_apply_priority(rb_thread_t *th) else if (max > priority) { priority = min; } - th->priority = 0 - priority; sp.sched_priority = priority; pthread_setschedparam(th->thread_id, policy, &sp); |
