mark call that locks execbody from using that routine
This commit is contained in:
parent
b5e95668a5
commit
9d94328cd6
1 changed files with 6 additions and 1 deletions
|
@ -1223,10 +1223,15 @@ impl Routine {
|
|||
mutlock.parent_params.curr_act = mutlock.self_act_ar.to_owned().unwrap();
|
||||
}
|
||||
|
||||
dbg!("before");
|
||||
|
||||
// `self_ar` is the routine you want to read in the execbody i think, but its used to call that execbody.
|
||||
// So execbody waits for itself to finish.
|
||||
(self_ar.read().await.exec_body)(
|
||||
self_ar.read().await.parent_params.clone()
|
||||
).await;
|
||||
|
||||
dbg!("after");
|
||||
// (self.exec_body)(
|
||||
// self.parent_params.clone()
|
||||
// ).await;
|
||||
|
|
Loading…
Reference in a new issue