about summary refs log tree commit diff
path: root/src/rt/rust_sched_loop.cpp
diff options
context:
space:
mode:
authorGareth Daniel Smith <garethdanielsmith@gmail.com>2012-05-20 14:06:54 +0100
committerBrian Anderson <banderson@mozilla.com>2012-05-21 17:38:05 -0700
commitc9f8ae02bcf078aee6ebcdc55f96ac18a9753c26 (patch)
tree7e91e2eafd38d3893c583251b108d79240bea888 /src/rt/rust_sched_loop.cpp
parent64130f158950d5b4746b7dce47cf4ce20dd934dd (diff)
downloadrust-c9f8ae02bcf078aee6ebcdc55f96ac18a9753c26.tar.gz
rust-c9f8ae02bcf078aee6ebcdc55f96ac18a9753c26.zip
add a seeded random number generator so that sequences of random numbers can be easily reproduced (for https://github.com/mozilla/rust/issues/2379)
Diffstat (limited to 'src/rt/rust_sched_loop.cpp')
-rw-r--r--src/rt/rust_sched_loop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_sched_loop.cpp b/src/rt/rust_sched_loop.cpp
index e8942f37733..697f460d3a6 100644
--- a/src/rt/rust_sched_loop.cpp
+++ b/src/rt/rust_sched_loop.cpp
@@ -29,7 +29,7 @@ rust_sched_loop::rust_sched_loop(rust_scheduler *sched,int id) :
     name("main")
 {
     LOGPTR(this, "new dom", (uintptr_t)this);
-    isaac_init(kernel, &rctx);
+    isaac_init(kernel, &rctx, NULL);
 
     if (!tls_initialized)
         init_tls();