Permalink
Commits on Dec 2, 2012
  1. The fastthread lib kills all threads waiting on a queue when that queue

    brentr committed Dec 2, 2012
    finalized.  If this happens in the child process of a fork, those threads
    will likely have already been destroyed and may be slated for
    finalization themselves.  Trying to run them (even for kill) leads to
    a exception out of in rb_thread_check()
    
    This patch makes fastthread check whether the threads are intact
    before trying to kill them.  Netshade provided the follow test case:
    
    ruby  -rthread -e '
    q = Queue.new; Thread.new { q.pop }; pid = fork;
    if pid.nil?; q = nil; GC.start; else; Process.wait(pid); end'
    
    The test case fails more often when the MBARI patches are applied because
    they make GC work better -- so, it is more likely that the threads
    will be immediately slated for finalization by the first pass after fork.
    
    This patch should also be applied to the MRI mainline.
Commits on Oct 12, 2011
  1. Corrected faulty floating point range check that would always fail.

    brentr committed Oct 12, 2011
    Included allowance for FP round off error.
Commits on Oct 11, 2011
Commits on Oct 10, 2011
Commits on Oct 8, 2011
  1. updated

    brentr committed Mar 2, 2009
  2. removed volatile qualifier on parameter for ruby_cleanup(). corrected…

    brentr committed Mar 1, 2009
    … volatile qualifier on block_pass()'s NODE *, removed unneeded label in eval_opt_n(), removed unneeded result assignment in rb_call0, added missed volatile qualifiers in rb_load()
  3. #defined __anyPowerPC__

    brentr committed Feb 27, 2009
  4. fixed date typo

    brentr committed Feb 26, 2009
Commits on Oct 7, 2011
  1. added --with-wipe-sites= & --enable-mbari-api. Fixed GC saveregs bug.…

    brentr committed Feb 25, 2009
    … Removed race in ruby/suicide test case.
  2. volatile result in rb_eval() fixes x86_64 segfaults on test net.Fixed…

    brentr committed Feb 23, 2009
    … some gcc signed/unsigned warnings in eval and gc
Commits on Oct 6, 2011
Commits on Oct 5, 2011