Project

General

Profile

Actions

Bug #13188

closed

Reinitialize Ruby VM.

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

Status:
Rejected
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 1 (0 open1 closed)

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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0