TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

Singlethreaded Cell

sunfishcode / singlethreaded-cell

A `Cell` type that knows that there is only one thread

2 1 Language: Rust License: Apache-2.0 Updated: 1y ago

README

SinglethreadedCell is a cell that only supports single-threaded platforms.

It's similar to core::cell::UnsafeCell, except it implements Deref and
Sync, which it can do because it never exposes external mutation and only
supports single-threaded platforms.

0 AIs selected
Clear selection
#
Name
Task