-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
kind:featureA request, idea or new functionalityA request, idea or new functionalitytopic:safetyViolations of safety causing undefined behavioursViolations of safety causing undefined behaviours
Description
Hi!
It hit me that JsClass
was not Send
if the parallel
is enabled.
I have an intuition that this is an issue since the classes can then own non-send struct like Rc
and that would lead to bugs since the runtime can change threads.
In particular in LLRT
we do use a lot of Rc<RefCell>
and they might need to be changed to Arc<Mutex>
?
What are you thoughts?
Metadata
Metadata
Assignees
Labels
kind:featureA request, idea or new functionalityA request, idea or new functionalitytopic:safetyViolations of safety causing undefined behavioursViolations of safety causing undefined behaviours