https://github.com/sdroege/send-cell
Immutable memory region with runtime Send checking
https://github.com/sdroege/send-cell
concurrency multi-threading rust
Last synced: 9 months ago
JSON representation
Immutable memory region with runtime Send checking
- Host: GitHub
- URL: https://github.com/sdroege/send-cell
- Owner: sdroege
- License: mit
- Created: 2017-08-04T19:52:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-27T10:16:58.000Z (over 7 years ago)
- Last Synced: 2025-05-07T11:02:49.959Z (9 months ago)
- Topics: concurrency, multi-threading, rust
- Language: Rust
- Size: 17.6 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# send-cell [](https://crates.io/crates/send-cell) [](https://travis-ci.org/sdroege/send-cell) [](https://docs.rs/send-cell)
**DEPRECATED: This crate is now deprecated in favour of
[fragile](https://crates.io/crates/fragile). The `fragile::Fragile` type
has essentially the same guarantees and works the same**
An immutable memory location that implements `Send` for types that do not
implement it.
Enforcing safety with regard to the `Send` trait happens at runtime instead of
compile time. Accessing the contained value will call `panic!` if happening
from any thread but the thread on which the value was created on. The
`SendCell` can be safely transferred to other threads.
## LICENSE
send-cell is licensed under the MIT license ([LICENSE](LICENSE) or
http://opensource.org/licenses/MIT).
## Contribution
Any kinds of contributions are welcome as a pull request.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in send-cell by you shall be licensed under the MIT license as above,
without any additional terms or conditions.