[macruby-changes] [3235] MacRuby/trunk/thread.c
source_changes at macosforge.org
source_changes at macosforge.org
Sun Jan 10 21:55:24 PST 2010
Revision: 3235
http://trac.macosforge.org/projects/ruby/changeset/3235
Author: lsansonetti at apple.com
Date: 2010-01-10 21:55:21 -0800 (Sun, 10 Jan 2010)
Log Message:
-----------
Thread.list: do not return the internal thread list but a copy instead
Modified Paths:
--------------
MacRuby/trunk/thread.c
Modified: MacRuby/trunk/thread.c
===================================================================
--- MacRuby/trunk/thread.c 2010-01-10 21:56:00 UTC (rev 3234)
+++ MacRuby/trunk/thread.c 2010-01-11 05:55:21 UTC (rev 3235)
@@ -443,7 +443,7 @@
VALUE
rb_thread_list(VALUE rcv, SEL sel)
{
- return rb_vm_threads();
+ return rb_ary_dup(rb_vm_threads());
}
/*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100110/6a4ac479/attachment.html>
More information about the macruby-changes
mailing list