Skip to content

Commit

Permalink
* cont.c: support Fiber. Check test/ruby/test_fiber.rb for detail.
Browse files Browse the repository at this point in the history
  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.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
ko1 committed May 27, 2007
1 parent b69b1af commit 57062d9
Show file tree
Hide file tree
Showing 9 changed files with 441 additions and 89 deletions.
11 changes: 11 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Mon May 28 03:56:44 2007 Koichi Sasada <ko1@atdot.net>

* 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.

Sat May 26 00:38:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>

* eval.c (ruby_exec_internal): do nothing if no code.
Expand Down
Loading

0 comments on commit 57062d9

Please sign in to comment.