16 Commits (master)
 

Author SHA1 Message Date
Avril 4a08c836aa
tests: Added tests for overlapping insertions.
2 years ago
Avril 729786a568
Tests: Added non-overlapping multithreaded iteration testing for trivial an non-trivial values.
2 years ago
Avril 9272f1addb
Started adding unit tests.
2 years ago
Avril 4b85a45a27
Added `Iter<"re, "a, T>`: An iterator over a `Populator<"a, T>`, or a slice of elements in that populator. The iterator yields `Ref<"re, "a, T>`, which can be used to insert into the populator or inspect its set-status.
2 years ago
Avril 02821a2aa9
Added `completed_{ref,mut}()` methods as pancking complements for `try_completed_{ref,mut}()`.
2 years ago
Avril fa6eb5810d
Added exclusive reference: `RefEx`. Added `try_completed_{ref,mut}()` which returns a slice of all the elements if the populator has completed.
2 years ago
Avril 7748572f79
Added parent accessor to Ref and OwnedRef
2 years ago
Avril 9a30ad5665
Added OwnedRef: References a single slot from an Arc"d Populator.
2 years ago
Avril c7932794f0
Moved Ref related things to own private submodule
2 years ago
Avril 6a4b2e918d Fortune for parapop's current commit: Small curse − 小凶
2 years ago
Avril 7fa9f5cce1
Added iter::FullRefIter for completed Populators. This should maybe (*MUST*, if we allow changing set elements, which we probably won"t) be born from an exclusive reference? But if it"s full then no other reference can modify anything so I"m not sure, it might be safe to create with only a shared reference.
2 years ago
Avril 5ca9459495
Added more _exclusive() functions with no atomic operations. Start adding Ref, that tracks a single slot.
2 years ago
Avril 49dd362b5b
Added basic (kinda janky) IntoIter
2 years ago
Avril 0443248162
Removed unused dep
2 years ago
Avril 00a285bcdb
Added Populator<T>, insert(), and complete() methods written
2 years ago
Avril f64a36af70 Initial commit
2 years ago