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
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
It seems that rb_thread_wait_fd() doesn't work in 1.8.6
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password