On Jul 8, 2008, at 5:43 PM, Michael Guterl wrote:

> On Tue, Jul 1, 2008 at 5:04 PM, Charles Oliver Nutter
> <charles.nutter / sun.com> wrote:
>> ara howard wrote:
>>>
>>>
>>> this one's for you charlie ;-)
>>
>> Appears to work just dandy under JRuby:
>>
>
> I was doing some comparison between threadify and peach with JRuby,
> when I noticed some interesting behavior with using
> Enumerator#to_enum.
>
> Sample code and three different results are posted here:
> http://pastie.org/230287.  Each result randomly occurs and sometimes
> the code produces no error whatsoever.  MRI does not seem to exhibit
> the same behavior.
>
> I am not sure that what I am doing in the code is even reasonable,
> however, I thought it might be worth pointing out.
>
> threadify-0.0.2
> jruby 1.1.3-dev (ruby 1.8.6 patchlevel 114) (2008-07-08 rev 7130)  
> [i386-java]
> java version "1.5.0_13"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13- 
> b05-237)
> Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
>
> OS X 10.5.4
>
> Thanks,
> Michael Guterl
>



bunch of 'java.lang' stuff in there - i'm out!  ;-)

a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama