-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
💡looking for ideasIssue under discussion and looking for new ideasIssue under discussion and looking for new ideas🚀 enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Currently, if a lock is poisoned on the Rust side, the code will panic.
We might want to improve this behavior by returning an error.
See the original discussion at #41 (comment)
Since there is some literature written and different options about how to deal with poisoned locks, I'm opening this issue for an open discussion.
Describe the solution you'd like
@ereslibre suggested:
let mut executionctxs = WASM_RUNTIME_EXECUTIONCTXS.write().map_err(|e| format!("error: {:?}", e))?;
Describe alternatives you've considered
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
💡looking for ideasIssue under discussion and looking for new ideasIssue under discussion and looking for new ideas🚀 enhancementNew feature or requestNew feature or request