Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 14, 2011
  1. @takaokouji

    set timeout, because block code in Dispatch::Queue#sync. see below.

    takaokouji authored
    ---
    @n = 0
    q = Dispatch::Queue.new('foo')
    g = Dispatch::Group.new
    10000.times do |i|
      Dispatch::Queue.concurrent.async(g) do
        q.sync { @n += i } # <= block here
      end
    end
    g.wait(10)
    p @n
Commits on Dec 8, 2009
  1. follow GCD changes

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3087 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Nov 28, 2009
  1. fixing a bunch of GCD bugs

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3056 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Nov 26, 2009
  1. added 2 GCD stress tests

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3055 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Nov 25, 2009
  1. added initial test file for GCD

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3043 23306eb0-4c56-4727-a40e-e92c0eb68959
Something went wrong with that request. Please try again.