-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unwind safety #28
Comments
I can't really tell you what the message you are referering means. Regarding unwind safety: The library assumes all of it's internals will never |
My understanding is that UnsafeCell is !RefUnwindSafe by default, and you must excplicitly mark your wrapper type, here Would you accept a PR for marking your shared state structs unwind safe? |
I'm afraid I can't really answer the question right now, since I'm not comfortable enough with the meaning of If they are talking about unwindiding e.g. with a Can you tell me your use-case for this? The |
I'm closing this due to no feedback |
Hi there, and thanks for your work on this library.
I don't feel very confident on how unwind safety works, but I noticed that
std::cell::UnsafeCell<futures_intrusive::channel::mpmc::ChannelState<ControlMessage<A>, futures_intrusive::buffer::ring_buffer::if_std::HeapRingBuf<ControlMessage<A>>>> may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
Is this in fact true, or are we missing a marker trait?
The text was updated successfully, but these errors were encountered: