From: Suraj Kurapati Date: 2009-11-01T03:33:57+09:00 Subject: [ruby-core:26452] [Feature #2294] [PATCH] ruby_bind_stack() to embed Ruby in coroutine Issue #2294 has been updated by Suraj Kurapati. File ruby_bind_stack.patch added File ruby_bind_stack_after_refactoring.patch added Hi, I'm attaching updated patches that contain better API documentation: /* * Binds the stack of Ruby's main thread to the region of memory that spans * inclusively from the given lower boundary to the given upper boundary: * * lower boundary <= stack pointer of Ruby's main thread <= upper boundary * * These boundaries *do not* protect Ruby's main thread against stack * overflow and they *do not* apply to non-main Ruby threads (whose stacks * are dynamically allocated and managed by the native Operating System). */ void ruby_bind_stack(void *lower_boundary, void *upper_boundary); Thanks for your consideration. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2294 ---------------------------------------- http://redmine.ruby-lang.org