Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 29, 2012
  1. @Watson1978
Commits on Feb 15, 2012
  1. @Watson1978
Commits on Feb 1, 2012
  1. @Watson1978
Commits on Jan 31, 2012
  1. @Watson1978
Commits on Dec 26, 2011
  1. @Watson1978
Commits on Dec 1, 2011
  1. @Watson1978
Commits on Aug 9, 2011
  1. @Watson1978

    Thread#inspect will return string which copied receiver's status of t…

    Watson1978 authored
    …aint/untrust.
    
    Test Script:
    {{{
    require 'test/unit/assertions.rb'
    include Test::Unit::Assertions
    th = Thread.new { 42 }
    th.taint
    th.untrust
    assert_equal(true, th.inspect.tainted?)
    assert_equal(true, th.inspect.untrusted?)
    puts :ok
    }}}
Commits on Aug 8, 2011
  1. @Watson1978
Commits on Aug 7, 2011
  1. @jhemmelg

    Issue #542: Attempt to unlock a mutex which is not locked (ThreadError)

    jhemmelg authored
    Re-lock the mutex at the end of mutex_sleep in thread.c.
Commits on Jul 31, 2011
  1. @jhemmelg

    Partial fix for ticket #542 - Attempt to unlock a mutex which is not …

    jhemmelg authored
    …locked (ThreadError)
    
    Fix for mutex race condition.  This does not fix the overall problem
    using Monitor class.
Commits on May 1, 2011
  1. fix potential memory problems in select() code

    Laurent Sansonetti authored
Commits on Mar 30, 2011
  1. pre-register new threads to the core earlier, to avoid race condition…

    Laurent Sansonetti authored
    …s when performing methods poking at the thread list right after Thread.new
Commits on Feb 15, 2011
  1. add missing CRuby API rb_thread_blocking_region()

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5232 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Feb 7, 2011
  1. fix a bug in Thread.kill when passing a non-Thread object would cause…

    Laurent Sansonetti authored
    … a crash
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5221 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jan 28, 2011
  1. fix a bug in Mutex and ThreadGroup where modifying internal array str…

    Laurent Sansonetti authored
    …uctures under SAFE level of 4 would raise an exception
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5195 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jan 15, 2011
  1. update copyrights to 2011

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5168 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jan 8, 2011
  1. fix a bug in {Thread,ThreadGroup,Mutex}#alloc where we would not retu…

    Laurent Sansonetti authored
    …rn objects from the current class (could be a subclass)
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5143 23306eb0-4c56-4727-a40e-e92c0eb68959
  2. include/ruby/macruby.h -> macruby_internal.h

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5137 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Sep 10, 2010
  1. implement missing MRI API: rb_thread_local_aref/aset

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4500 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Sep 3, 2010
  1. when a thread exists prematurely because of an exception, write a mes…

    Laurent Sansonetti authored
    …sage on stderr once the thread object is being finalized only if #join was never called
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4493 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Aug 24, 2010
  1. don't allow a Thread object to be initialized twice

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4455 23306eb0-4c56-4727-a40e-e92c0eb68959
  2. honor ThreadGroup frozen state

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4454 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Aug 17, 2010
  1. when killing the main thread, just exit the program (patch from watso…

    Laurent Sansonetti authored
    …n1978 at gmail.com)
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4431 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Aug 11, 2010
  1. `Mutex#try_unlock`: Add the mutex to the current thread mutexes on su…

    Thibault Martin-Lagardette authored
    …ccess
    
     - Fixes #847
    
    
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4422 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Aug 4, 2010
  1. raise an exception in case we try to stop the only running thread (pa…

    Laurent Sansonetti authored
    …tch by watson1978 at gmail.com)
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4404 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jul 13, 2010
  1. Thread#join: when timeout is provided, make sure to do multiple sleep…

    Laurent Sansonetti authored
    …s and return appropriately if the given thread has finished
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4347 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jul 8, 2010
  1. Move Obj-C related headers around.

    Thibault Martin-Lagardette authored
    Snything that is Obj-C related is now in a separate header. This will avoid "true" to already be defined for example.
    
     - Fixes <rdar://problem/7871199>
     - Fixes #728
    
    
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4330 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Feb 9, 2010
  1. don't always assume that a thread as a group

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3458 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jan 20, 2010
  1. @drernie

    Added 2010 Copyrights

    drernie authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3307 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jan 11, 2010
  1. Thread.list: do not return the internal thread list but a copy instead

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3235 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jan 8, 2010
  1. implement Thread.kill and Thread.exit

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3217 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Oct 31, 2009
  1. implemented VM cleanup + make sure Threads do not leak resources anymore

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2930 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Sep 7, 2009
  1. exposing missing Thread methods

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2502 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jul 28, 2009
  1. implemented Thread.start/fork

    Laurent Sansonetti authored
Commits on Jul 26, 2009
  1. fixed bugs in Mutex#synchronize and thread's unlock all mutexes logic…

    Laurent Sansonetti authored
    …: do not raise exceptions (mimic MRI behavior)
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/branches/experimental@2081 23306eb0-4c56-4727-a40e-e92c0eb68959
Something went wrong with that request. Please try again.