19 ms·
> you need to ensure that there is an explicit memory barrier yourself when you transfer the object To add to/clarify this: I don't think you can transfer an o
by bretthoerner 10y ago
> you need to ensure that there is an explicit memory barrier yourself when you transfer the object
To add to/clarify this: I don't think you can transfer an object to another thread in safe Rust code without a primitive that will handle the barriers for you. Static ownership tracing doesn't actually know what threads are, because it doesn't even need to.