Project

General

Profile

Bug #13188

Reinitialize Ruby VM.

Added by joedaniels29 (Joe Daniels) over 3 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Normal
Target version:
-
ruby -v:
2.0.0-p648
[ruby-core:79414]

Description

It appears that by following what appears to be a pretty standard setup procedure:

ruby_init_stack(variable_in_this_stack_frame)
ruby_init();
ruby_init_loadpath();

rb_require("enc/encdb");
rb_require("enc/trans/transdb");
ruby_process_options(Int32(options.count), &cargs)

var state: Int32 = 0;
if ruby_executable_node(node, &state) != 0 {
    state = ruby_exec_node(node)
}
if state != 0 {
    throw RubyError.current
}


ruby_cleanup(state);

Its not possible to recreate the VM. Are there instructions on this process? or is this an actionable task for which contributions from a first time contributor would be accepted?


Related issues

Related to Ruby master - Feature #14792: Multiple RubyVM in one process to make real multi-threading.FeedbackActions

Also available in: Atom PDF