Revision
2932
Author
lsansonetti@apple.com
Date
2009-10-30 20:38:49 -0700 (Fri, 30 Oct 2009)

Log Message

added another thread-safe problem

Modified Paths

Diff

Modified: MacRuby/trunk/TODO (2931 => 2932)


--- MacRuby/trunk/TODO	2009-10-31 02:34:53 UTC (rev 2931)
+++ MacRuby/trunk/TODO	2009-10-31 03:38:49 UTC (rev 2932)
@@ -60,6 +60,8 @@
   [ ] method cache is not thread safe
   [X] block dvars are corrupted in case the receiver leaves
       ex: 10.times { |i| Thread.new { p i } }; sleep 1
+  [ ] blocks are not reentrant
+      ex: b=Proc.new{}; 100.times{Thread.new{100.times{b.call}}}; sleep 1
   [X] lazy GCD VMs are never finalized
   [X] random.c is not thread-safe and should be rewritten using random(3)