[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

Re: Possible Bug: Running thread blocks access to /proc/loadavg

From: Christian Reiniger <creinig@...>
Date: 2004-11-24 11:25:56 UTC
List: ruby-core #3804
On Wednesday 24 November 2004 12:13, nobu.nokada@softhome.net wrote:
> Hi,
>
> At Wed, 24 Nov 2004 05:21:24 +0900,
>
> Christian Reiniger wrote in [ruby-core:03798]:
> >  Linux chrisbig 2.6.9 #3 Tue Nov 23 21:28:15 CET 2004 i686 AMD
> > Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux
>
> Seems Linux kernel 2.6's issue, its loadavg doesn't implement
> poll function properly.
>
> Simple example in C also blocks at select(2).

Damn. That means I'll have to read the file in a separate process. That's 
kinda sick :)

Thanks anyway.

Oh -- just found out that  doing a 

Thread.critical = true
File.read(...)
Thread.critical = false

works fine. Still not perfect, but much better than forking.

-- 
Christian Reiniger

Age is something that doesn't matter,  unless you are a cheese.
 - Billie Burke

In This Thread

Prev Next