From: Sylvain Joyeux Date: 2007-08-10T15:28:44+09:00 Subject: Re: priorities of newly-created threads On Friday 10 August 2007, Nobuyoshi Nakada wrote: > Hi, > > At Thu, 9 Aug 2007 08:38:41 +0900, > > David Flanagan wrote in [ruby-core:11876]: > > In Ruby 1.9, newly created threads start at priority 0. I suspect > > that this is a bug. > > The current VM uses native threads. On linux, the scheduling > policy is defaulted to SCHED_OTHER, and the priority is bound > on 0 in that case. Therefore, it's rather the restriction of > the platform. Would it be possible to have access to the scheduling class of the threads ? It is a must-have IMO. The problem, of course, being that it is highly platform-specific. Sylvain