{"id":19333447,"url":"https://github.com/zakarumych/atomicell","last_synced_at":"2025-04-23T00:30:39.913Z","repository":{"id":44984912,"uuid":"513185224","full_name":"zakarumych/atomicell","owner":"zakarumych","description":"Multi-threaded RefCell on atomics","archived":false,"fork":false,"pushed_at":"2023-09-04T19:34:56.000Z","size":45,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-31T11:26:42.036Z","etag":null,"topics":["atomics","multi-threading","parallel-programming","rust","synchronization"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zakarumych.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-12T14:57:10.000Z","updated_at":"2024-01-30T17:32:29.000Z","dependencies_parsed_at":"2023-02-12T17:15:52.971Z","dependency_job_id":null,"html_url":"https://github.com/zakarumych/atomicell","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarumych%2Fatomicell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarumych%2Fatomicell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarumych%2Fatomicell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarumych%2Fatomicell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zakarumych","download_url":"https://codeload.github.com/zakarumych/atomicell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223906277,"owners_count":17223046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atomics","multi-threading","parallel-programming","rust","synchronization"],"created_at":"2024-11-10T02:52:26.503Z","updated_at":"2024-11-10T02:52:27.115Z","avatar_url":"https://github.com/zakarumych.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Atomicell crate\n\n[![crates](https://img.shields.io/crates/v/atomicell.svg?style=for-the-badge\u0026label=atomicell)](https://crates.io/crates/atomicell)\n[![docs](https://img.shields.io/badge/docs.rs-atomicell-66c2a5?style=for-the-badge\u0026labelColor=555555\u0026logoColor=white)](https://docs.rs/atomicell)\n[![actions](https://img.shields.io/github/actions/workflow/status/zakarumych/atomicell/badge.yml?branch=master\u0026style=for-the-badge)](https://github.com/zakarumych/atomicell/actions/workflows/badge.yml)\n[![MIT/Apache](https://img.shields.io/badge/license-MIT%2FApache-blue.svg?style=for-the-badge)](COPYING)\n![loc](https://img.shields.io/tokei/lines/github/zakarumych/atomicell?style=for-the-badge)\n\nThis crate provides `AtomicCell` type - a multi-threaded version of `RefCell` from standard library.\n`AtomicCell` uses atomics to track borrows and able to guarantee\nabsence of mutable aliasing when multiple threads try to borrow concurrently.\n\nUnlike mutexes and spin-locks `AtomicCell` does not have blocking calls.\nBorrows are either succeed immediately or fail.\n\nThere are fallible that return optional for borrowing calls - [`AtomicCell::try_borrow`] and [`AtomicCell::try_borrow_mut`].\n\nAnd panicking version - [`AtomicCell::borrow`] and [`AtomicCell::borrow_mut`].\n\n[`AtomicCell::try_borrow`]: https://docs.rs/atomicell/latest/atomicell/struct.AtomicCell.html#method.try_borrow\n[`AtomicCell::try_borrow_mut`]: https://docs.rs/atomicell/latest/atomicell/struct.AtomicCell.html#method.try_borrow_mut\n[`AtomicCell::borrow`]: https://docs.rs/atomicell/latest/atomicell/struct.AtomicCell.html#method.borrow\n[`AtomicCell::borrow_mut`]: https://docs.rs/atomicell/latest/atomicell/struct.AtomicCell.html#method.borrow_mut\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakarumych%2Fatomicell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzakarumych%2Fatomicell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakarumych%2Fatomicell/lists"}