Skip to content

Commit

Permalink
Lockfree -> Saturn
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudha247 committed Jul 18, 2023
1 parent f210fea commit c449e79
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions domainslib.opam
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Parallel Structures over Domains for Multicore OCaml"
maintainer: ["KC Sivaramakrishnan <kc@kcsrk.info>"]
authors: ["KC Sivaramakrishnan <kc@kcsrk.info>" "Sudha Parimala"]
maintainer: ["KC Sivaramakrishnan <kc@kcsrk.info>" "Sudha Parimala"]
authors: ["KC Sivaramakrishnan <kc@kcsrk.info>"]
license: "ISC"
homepage: "https://github.com/ocaml-multicore/domainslib"
doc: "https://kayceesrk.github.io/domainslib/doc"
bug-reports: "https://github.com/ocaml-multicore/domainslib/issues"
depends: [
"dune" {>= "3.0"}
"ocaml" {>= "5.0"}
"lockfree" {>= "0.3.1"}
"saturn" {>= "0.4.0"}
"domain-local-await" {>= "0.1.0"}
"kcas" {>= "0.3.0" & with-test}
"mirage-clock-unix" {with-test & >= "4.2.0"}
Expand Down
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

(source (github ocaml-multicore/domainslib))
(authors "KC Sivaramakrishnan <kc@kcsrk.info>")
(maintainers "KC Sivaramakrishnan <kc@kcsrk.info>")
(maintainers "KC Sivaramakrishnan <kc@kcsrk.info>" "Sudha Parimala")
(documentation "https://kayceesrk.github.io/domainslib/doc")
(license "ISC")

Expand All @@ -14,7 +14,7 @@
(synopsis "Parallel Structures over Domains for Multicore OCaml")
(depends
(ocaml (>= "5.0"))
(lockfree (>= "0.2.0"))
(saturn (>= "0.4.0"))
(domain-local-await (>= 0.1.0))
(kcas (and (>= 0.3.0) :with-test))
(mirage-clock-unix (and :with-test (>= "4.2.0")))
Expand Down
2 changes: 1 addition & 1 deletion lib/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(library
(name domainslib)
(public_name domainslib)
(libraries lockfree domain-local-await))
(libraries saturn domain-local-await))
4 changes: 2 additions & 2 deletions lib/multi_channel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*)

module Ws_deque = Lockfree.Ws_deque.M
module Ws_deque = Saturn.Work_stealing_deque.M

type mutex_condvar = {
mutex: Mutex.t;
Expand All @@ -32,7 +32,7 @@ type dls_state = {
mc: mutex_condvar;
}

module Foreign_queue = Lockfree.Michael_scott_queue
module Foreign_queue = Saturn.Queue

type 'a t = {
channels: 'a Ws_deque.t array;
Expand Down

0 comments on commit c449e79

Please sign in to comment.