Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
357 changes: 314 additions & 43 deletions README.md

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
(homepage "https://github.com/ocaml-multicore/kcas")
(license "ISC")
(package (name kcas)
(synopsis "Multi-word compare-and-set library")
(synopsis "Software transactional memory based on lock-free multi-word compare-and-set")
(depends
(ocaml (>= 5.0))
(domain-local-await (>= 0.1.0))
(mdx (and (>= 1.10.0) :with-test))))
(package (name kcas_data)
(synopsis "Compositional lock-free data structures")
(synopsis "Compositional lock-free data structures and primitives for communication and synchronization")
(depends
(kcas (= :version))
(mdx (and (>= 1.10.0) :with-test))))
Expand Down
4 changes: 3 additions & 1 deletion kcas.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Multi-word compare-and-set library"
synopsis:
"Software transactional memory based on lock-free multi-word compare-and-set"
maintainer: ["KC Sivaramakrishnan <sk826@cl.cam.ac.uk>"]
authors: ["KC Sivaramakrishnan <sk826@cl.cam.ac.uk>"]
license: "ISC"
Expand All @@ -9,6 +10,7 @@ bug-reports: "https://github.com/ocaml-multicore/kcas/issues"
depends: [
"dune" {>= "3.3"}
"ocaml" {>= "5.0"}
"domain-local-await" {>= "0.1.0"}
"mdx" {>= "1.10.0" & with-test}
"odoc" {with-doc}
]
Expand Down
3 changes: 2 additions & 1 deletion kcas_data.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Compositional lock-free data structures"
synopsis:
"Compositional lock-free data structures and primitives for communication and synchronization"
maintainer: ["KC Sivaramakrishnan <sk826@cl.cam.ac.uk>"]
authors: ["KC Sivaramakrishnan <sk826@cl.cam.ac.uk>"]
license: "ISC"
Expand Down
2 changes: 2 additions & 0 deletions src/backoff.mli
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*)

(** Randomized exponential backoff mechanism. *)

type t
(** Type of backoff values. *)

Expand Down
3 changes: 2 additions & 1 deletion src/dune
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
(library
(name kcas)
(public_name kcas))
(public_name kcas)
(libraries threads domain-local-await))
Loading