-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Ideally, it would be possible to use all nosy types implementing Sync without depending on std.
#19 proposed and #20 implemented adding RawNotifier towards this goal, but it isn’t very complete. To get the full set of nosy functionality still has to reimplement their own:
Notifierwrapper aroundRawNotifier, in order to provide aListenimplementationBufferNotifierForwarderStoreLockCellandCellWithLocal
In the particular case of Cell, a possible option here would be to provide a generic interface which allows atomic cell values — i.e. a cell that contains an AtomicU32 instead of a Mutex<u32> — which is more efficient and naturally generalizes to arbitrary mutexes. However, I haven’t thought of any comparably tidy solutions for Notifier, yet.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request