[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:19631

From: ko1 ruby-lang.org
Date: Mon, 28 May 2007 04:12:44 +0900 (JST)
Subject: [ruby-cvs:19631] Ruby:r12395: * cont.c: support Fiber. Check test/ruby/test_fiber.rb for detail.

ko1	2007-05-28 04:12:43 +0900 (Mon, 28 May 2007)

  New Revision: 12395

  Added files:
    trunk/test/ruby/test_fiber.rb
  Modified files:
    trunk/ChangeLog
    trunk/cont.c
    trunk/eval.c
    trunk/eval_intern.h
    trunk/thread.c
    trunk/version.h
    trunk/yarvcore.c
    trunk/yarvcore.h

  Log:
    * cont.c: support Fiber.  Check test/ruby/test_fiber.rb for detail.
      Fiber is known as "Micro Thread", "Coroutine", and other terms.
      At this time, only Fiber#pass is supported to change context.
      I want to know more suitable method name/API for Fiber (... do you
      know more suitable class name instead of Fiber?) as "suspend/resume",
      "call", "yield", "start/kick/stop/restart", ....
    * eval.c, eval_intern.h, thread.c, yarvcore.c, yarvcore.h: ditto.
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=12395&r2=12394
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_fiber.rb?r1=12395&r2=12394
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_fiber.rb?revision=12395&view=markup
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/cont.c?r1=12395&r2=12394
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=12395&r2=12394
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/yarvcore.h?r1=12395&r2=12394
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/thread.c?r1=12395&r2=12394
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/eval.c?r1=12395&r2=12394
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/yarvcore.c?r1=12395&r2=12394
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/eval_intern.h?r1=12395&r2=12394


[前][次][番号順一覧][スレッド一覧][生データ]