Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (35 sloc) 0.892 kb
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
1 #ifndef RBX_ENVIRONMENT_HPP
2 #define RBX_ENVIRONMENT_HPP
3
4 #include <string>
5 #include <stdexcept>
6
43c1c3c One more cycle broken
Ryan Davis authored
7 #include "vm.hpp"
37dc489 Add real Configuration infrastructure
Evan Phoenix authored
8 #include "config_parser.hpp"
9 #include "configuration.hpp"
43c1c3c One more cycle broken
Ryan Davis authored
10
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
11 namespace rubinius {
12
37dc489 Add real Configuration infrastructure
Evan Phoenix authored
13 class ConfigParser;
ff881b8 Started query agent, mainly just groundwork thus far
Evan Phoenix authored
14 class QueryAgent;
37dc489 Add real Configuration infrastructure
Evan Phoenix authored
15
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
16 class Environment {
17 public:
6cfae75 Add VMManager, fix exit to behave well
Evan Phoenix authored
18 SharedState* shared;
388b751 Wire up primitives to be resolved and executed.
Evan Phoenix authored
19 VM* state;
ff881b8 Started query agent, mainly just groundwork thus far
Evan Phoenix authored
20 QueryAgent* agent;
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
21
37dc489 Add real Configuration infrastructure
Evan Phoenix authored
22 ConfigParser config_parser;
23 Configuration config;
24
878ca1b Add ability to load options from a file
Evan Phoenix authored
25 Environment();
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
26 ~Environment();
27
6c31ab6 Add cli switch to enable jit
Evan Phoenix authored
28 void load_config_argv(int argc, char** argv);
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
29 void load_argv(int argc, char** argv);
30 void load_directory(std::string dir);
5d2da0c @drbrain Parse runtime/platform.conf
drbrain authored
31 void load_platform_conf(std::string dir);
878ca1b Add ability to load options from a file
Evan Phoenix authored
32 void load_conf(std::string path);
33 void load_string(std::string str);
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
34 void run_file(std::string path);
f9ec582 Add preemptive thread scheduling
Evan Phoenix authored
35 void enable_preemption();
6c31ab6 Add cli switch to enable jit
Evan Phoenix authored
36 void boot_vm();
0c8eb66 Healthy living through better thread management
Evan Phoenix authored
37 void halt();
6cfae75 Add VMManager, fix exit to behave well
Evan Phoenix authored
38 int exit_code();
e6bb96a Fix a number of IO/Signal interaction issues
Evan Phoenix authored
39 void start_signals();
ff881b8 Started query agent, mainly just groundwork thus far
Evan Phoenix authored
40 void start_agent(int port);
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
41 };
c11533d @drbrain Move Rubinius::Terminal constant to kernel, wire up IO#tty? to support i...
drbrain authored
42
feb91b4 Tons of stuff (too much probably)
Evan Phoenix authored
43 }
44
45 #endif
Something went wrong with that request. Please try again.