Bulat Ziganshin wrote:

> AB> I know! :)
> AB> JRuby uses Java's threads, so they are indeed radically different.
> 
> jruby have compatibility problems with ruby in this area? f.e. class
> variables are global?

No, the language itself behaves the same.

The major difference is that Ruby's threading API is based on having
full control over thread scheduling, with methods like Thread.critical,
which stops all other threads. When you use an external implemenation of
threads, like Java's threads or POSIX threads or whatever, you don't
have that level of control.
There are many ways to get around this, so it will be interesting in the
future to watch how Rite, Cardinal and other Ruby implementations will
approach this.

/Anders

-- 
Anders Bengtsson <ndrsbngtssn / yahoo.se>

_____________________________________________________
Gratis e-mail resten av livet p? www.yahoo.se/mail
Busenkelt!