[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

It seems that rb_thread_wait_fd() doesn't work in 1.8.6

ry

3/16/2008 2:36:00 PM

Here is a test:
http://s3.amazonaws.com/four.livejournal/20080316/rb_thread_wait...

compile it: ruby extconf.rb && make
run it: ruby test.rb

it should not exit.

Ruby 1.9.0 has the correct behavior, but 1.8.6 exits immediately.


Is this a bug? Probably not - what am I doing wrong?


thanks, ry
1 Answer

Nobuyoshi Nakada

3/17/2008 8:52:00 AM

0

Hi,

At Sun, 16 Mar 2008 23:40:00 +0900,
ry wrote in [ruby-talk:294753]:
> Is this a bug? Probably not - what am I doing wrong?

It doesn't block at EOF.

--
Nobu Nakada