core: Add private global data interface. #3915

This commit is contained in:
Brian Anderson
2013-01-12 23:27:46 -08:00
parent ac435af73a
commit db1abbec4c
6 changed files with 275 additions and 2 deletions

View File

@@ -38,8 +38,8 @@ rust_kernel::rust_kernel(rust_env *env) :
global_env_chan(0),
at_exit_runner(NULL),
at_exit_started(false),
env(env)
env(env),
global_data(0)
{
// Create the single threaded scheduler that will run on the platform's
// main thread