fix memos in children; introduce isomorphic spawn

This commit is contained in:
Evan Almloff committed 2024-03-08 16:40:31 -06:00
1 parent 7461a14cb4
commit bbc81b8f9c
10 files changed
+162 -57

No files matched your search

+1 -3
View File
@@ -1,5 +1,3 @@
use rustc_hash::FxHashSet;
use crate::{
innerlude::{LocalTask, SchedulerMsg},
render_signal::RenderSignal,
@@ -30,7 +28,7 @@ pub struct Runtime {
pub(crate) tasks: RefCell<slab::Slab<Rc<LocalTask>>>,
// Currently suspended tasks
pub(crate) suspended_tasks: RefCell<FxHashSet<Task>>,
pub(crate) suspended_tasks: Cell<usize>,
pub(crate) rendering: Cell<bool>,