This is probably the most unsafe library I have written so far. 22 unsafe statements so you don't have to. Lets you send non-send data into other threads temporarily. https://crates.io/crates/fragile
Thinking about it more, I believe you'd need to be sure to box the value first. Otherwise, technically, moves are reading the memory. That'd mean that unsynchronized moves could read what another thread has only half written.
-
-
but the value is never read in another thread. So that should be fine i think
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.