diff --git a/src/runtime2/runtime.rs b/src/runtime2/runtime.rs index d8ea8d5960331c5e15062ebc667a7840f6991bfe..f3c46ebbe11ba125623ae42974df250a3e758ddc 100644 --- a/src/runtime2/runtime.rs +++ b/src/runtime2/runtime.rs @@ -158,7 +158,8 @@ pub struct Runtime { } impl Runtime { - pub fn new(num_threads: u32, protocol_description: ProtocolDescription) -> Runtime { + // TODO: debug_logging should be removed at some point + pub fn new(num_threads: u32, debug_logging: bool, protocol_description: ProtocolDescription) -> Runtime { assert!(num_threads > 0, "need a thread to perform work"); let runtime_inner = Arc::new(RuntimeInner { protocol: protocol_description, @@ -173,7 +174,7 @@ impl Runtime { }; for thread_index in 0..num_threads { - let mut scheduler = Scheduler::new(runtime.inner.clone(), thread_index); + let mut scheduler = Scheduler::new(runtime.inner.clone(), thread_index, debug_logging); let thread_handle = std::thread::spawn(move || { scheduler.run(); });