Features
-
Saturn v1.0.0: Released 2024-12-05. Adds lockfree Bag, Bounded Queue, Bounded Stack, and Htbl from Picos; removes the
Saturn_lockfreepackage,relaxed_queue, and theMmodule inws_deque. (release) -
Saturn Mpsc queue: Rewritten as a single-consumer structure aligned with Eio.
is_emptyandcloseare now consumer-only; addsdrop_exn,push_all,of_list; renamespop/peektopop_exn/peek_exn. (#162) -
Saturn lockfree Bag: Hash-table-based concurrent bag merged from Picos. Unordered insert/remove eliminates the ordering contention points present in queues and stacks. (#173)
-
Saturn Skiplist: Documentation updated with examples. Issue #178 proposes adding
try_set,compare_and_set, andcompare_and_removeto match the Htbl API. (#172, issue #178)
Research and Ongoing Work
-
Saturn priority queue: A skip-list-based priority queue is in progress, following the algorithm in The Art of Multiprocessor Programming. A double-CAS variant is noted as better suited to
kcas_datathan to Saturn. (issue #31) -
Saturn
copy_as_paddedaudit: Open discussion on whether padding on data-structure root records is always necessary. Padding increases memory and GC pressure; false sharing on the long-lived root is the primary justification. (issue #171)