[#3986] Re: Principle of least effort -- another Ruby virtue. — Andrew Hunt <andy@...>

> Principle of Least Effort.

14 messages 2000/07/14

[#4043] What are you using Ruby for? — Dave Thomas <Dave@...>

16 messages 2000/07/16

[#4139] Facilitating Ruby self-propagation with the rig-it autopolymorph application. — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/07/20

[ruby-talk:03971] Thread and File do not work together

From: "Michael Neumann" <neumann@...>
Date: 2000-07-13 13:45:09 UTC
List: ruby-talk #3971
following example do not work correctly with my ruby 
(ruby 1.4.5 (2000-06-26) [i386-mswin32])


Thread.start {
   print "ok\n"
   print File::readlines("index.htm").to_s  
}
readline


It prints "ok" but nothing else.
If I comment out the "Thread.start {", then it works.

What's wrong?

Thanks
Michael



In This Thread

Prev Next