Skip to content

Commit eb6078d

Browse files
committed
+ prev commit
1 parent e7e3453 commit eb6078d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rho_runtime/src/interpreter/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ impl<S:Storage + std::marker::Send + std::marker::Sync> From<S> for InterpreterC
6464
impl<S : Storage + std::marker::Send + std::marker::Sync + 'static> InterpreterContext<S> {
6565

6666
// this is the entrypoint, it must not be called by interpretered pars
67-
pub async fn evaludate(self : &Arc<Self>, mut par : Par) {
67+
pub async fn evaludate_par(self : &Arc<Self>, mut par : Par) {
6868
let env = Env::<Par>::default();
6969
if let Err(e) = par.evaluate(&self, &env)
7070
{
7171
self.push_error(e);
7272
}
73-
self.wait_group.notify.notified();
73+
self.wait_group.notify.notified().await;
7474
}
7575

7676
#[inline]

rho_runtime/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async fn test<S>(storage : S, par : Par)
9595
let context = std::sync::Arc::new(interpreter::InterpreterContext::from(storage.clone()));
9696

9797
let now = Instant::now();
98-
context.evaludate(par).await;
98+
context.evaludate_par(par).await;
9999
info!("Reduction took {} ms", now.elapsed().as_millis());
100100
/*
101101
for err in errors {

0 commit comments

Comments
 (0)