Re: [Ironruby-core] Thread Priority

2010-04-22 Thread Ryan Riley
d7 >> >> de7f305 >> >> >> >> >> http://github.com/PascalN2/ironruby/commit/47f0de87e908981f553732e97f948a33b >> >> 164f202 >> >> >> >> It was decided at some point that there would only be 5 valid values >> &

Re: [Ironruby-core] Thread Priority

2010-04-22 Thread Ryan Riley
; >> Thanks! > >> Shay. > >> > >> On 10/25/09, Tomas Matousek wrote: > >> > Ruby Thread#priority is not implemented yet. We disabled name mangling > >> > on > >> > built-ins recently so Thread.Priority property is not callable via &g

Re: [Ironruby-core] Thread Priority

2009-10-26 Thread Alexander Coles
-Original Message- >> From: ironruby-core-boun...@rubyforge.org >> [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Shay Friedman >> Sent: October-25-09 3:55 PM >> To: ironruby-core@rubyforge.org >> Subject: Re: [Ironruby-core] Thread Priority >> &g

Re: [Ironruby-core] Thread Priority

2009-10-25 Thread Shay Friedman
passed in the thread will be assigned Lowest > and Highest if above 2. > > Pascal > > -Original Message- > From: ironruby-core-boun...@rubyforge.org > [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Shay Friedman > Sent: October-25-09 3:55 PM > To:

Re: [Ironruby-core] Thread Priority

2009-10-25 Thread Pascal Normandin
Lowest and Highest if above 2. Pascal -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Shay Friedman Sent: October-25-09 3:55 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Thread Priority Is it going

Re: [Ironruby-core] Thread Priority

2009-10-25 Thread Shay Friedman
gt; lower-case name anymore. > > Tomas > > -Original Message- > From: ironruby-core-boun...@rubyforge.org > [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Shay Friedman > Sent: Saturday, October 24, 2009 11:10 PM > To: ironruby-core > Subject: [Ironru

Re: [Ironruby-core] Thread Priority

2009-10-25 Thread Tomas Matousek
Behalf Of Shay Friedman Sent: Saturday, October 24, 2009 11:10 PM To: ironruby-core Subject: [Ironruby-core] Thread Priority Hi guys, I've just noticed that something happened to Thread.priority... It disappeared. I'm talking about Thread's instance attribute - priority. I'm us

[Ironruby-core] Thread Priority

2009-10-24 Thread Shay Friedman
Hi guys, I've just noticed that something happened to Thread.priority... It disappeared. I'm talking about Thread's instance attribute - priority. I'm using the latest code from GitHub. The only available priority in the Thread instance now is a CamelCase priority, which is .Net's Priority attrib

Re: [Ironruby-core] Thread priority

2009-05-16 Thread Shri Borde
ge.org [ironruby-core-boun...@rubyforge.org] On Behalf Of Jim Deville [jdevi...@microsoft.com] Sent: Saturday, May 16, 2009 6:16 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Thread priority If ssiadmin doesn’t get to you by Monday, ping me and I’ll follow up with them. Thread

Re: [Ironruby-core] Thread priority

2009-05-16 Thread Jim Deville
: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Thread priority Hello, I’ve send an email to ssiadmin today … just waiting for the followup. Regarding the thread priority at this time anything lower to -2 will be mapped to Clr thread priority Lowest and anything above 2 will be mapped

Re: [Ironruby-core] Thread priority

2009-05-16 Thread Pascal Normandin
may not be necessary, what do you think ? Pascal From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jim Deville Sent: May-16-09 4:34 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Thread priority That looks good to me. W

Re: [Ironruby-core] Thread priority

2009-05-16 Thread Jim Deville
n Sent: Thursday, May 14, 2009 9:05 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Thread priority Hello, I’ve looked into this and it is pretty easy to implement. But I have a question before I send any modification. The Clr Thread works with 5 levels (Lowest, BelowNormal,

Re: [Ironruby-core] Thread priority

2009-05-14 Thread Pascal Normandin
Thanks; Pascal From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Tomas Matousek Sent: May-12-09 12:56 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Thread priority Thread#priority attribute is not implemented yet, that’s why t

Re: [Ironruby-core] Thread priority

2009-05-12 Thread Tomas Matousek
5:41 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Thread priority You can just use the enum from ironruby System::Threading::ThreadPriority.normal --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com

Re: [Ironruby-core] Thread priority

2009-05-12 Thread Ivan Porto Carrero
You can just use the enum from ironruby System::Threading::ThreadPriority.normal --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) Emma Goldman

[Ironruby-core] Thread priority

2009-05-12 Thread Shay Friedman
Hi there, Ruby allows to set the thread priority using the priority= method: Thread.new do Thread.current.priority = -1 ... blah blah blah ... end This is not available in IronRuby because priority maps to the System.Threading.Thread priority property which looks for the ThreadPriority enum.