clean and trying the global loop test as two separate loop lifetimes..

.. seeing an occasional valgrind/barf spew on some invalid read/writes..
need to investigate further.. i think its related to my poor citizen
conduct, re: pointers stashed in rust_kernel..
This commit is contained in:
Jeff Olson
2012-04-16 15:29:07 -07:00
committed by Brian Anderson
parent 31ba223c26
commit e0f110aa12
2 changed files with 13 additions and 7 deletions

View File

@@ -27,8 +27,8 @@ rust_kernel::rust_kernel(rust_env *env) :
// set up storage of pointers needed to
// access the global loop.
global_loop_chan = 0;
global_async_handle = (void**)::malloc( // FIXME -- can use this->malloc()
sizeof(void*)); // .. what do?
global_async_handle = (void**)::malloc( // FIXME--can't use this->malloc()
sizeof(void*)); // .. what do?
*global_async_handle = (void*)0;
// Create the single threaded scheduler that will run on the platform's