-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change to use Picos instead of DLT and DLA
This implements support for cancelation and removes explicit support for timeouts, which simplifes the main library implementations. This basically also means that one can no longer use Kcas without a scheduler.
- Loading branch information
Showing
55 changed files
with
413 additions
and
529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ let () = | |
(action | ||
(run %{test} -brief)) | ||
(libraries | ||
scheduler | ||
kcas_data | ||
multicore-bench | ||
backoff | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
(mdx | ||
(package kcas_data) | ||
(deps | ||
(package kcas) | ||
(package kcas_data)) | ||
(enabled_if | ||
(>= %{ocaml_version} 5.0.0)) | ||
(files gkmz-with-read-only-cmp-ops.md scheduler-interop.md)) | ||
;(mdx | ||
; (package kcas_data) | ||
; (deps | ||
; (package kcas) | ||
; (package kcas_data)) | ||
; (enabled_if | ||
; (>= %{ocaml_version} 5.0.0)) | ||
; (files gkmz-with-read-only-cmp-ops.md scheduler-interop.md)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
(mdx | ||
(package kcas_data) | ||
(deps | ||
(package kcas) | ||
(package kcas_data)) | ||
(libraries domain_shims) | ||
(files README.md)) | ||
;(mdx | ||
; (package kcas_data) | ||
; (deps | ||
; (package kcas) | ||
; (package kcas_data)) | ||
; (libraries domain_shims) | ||
; (files README.md)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
(lang dune 3.9) | ||
|
||
(env | ||
(dev | ||
(ocamlopt_flags | ||
(:standard -S)) | ||
(flags | ||
(:standard -warn-error -A))) | ||
(release | ||
(ocamlopt_flags | ||
(:standard -S)))) | ||
|
||
(display verbose) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
doc: "https://ocaml-multicore.github.io/kcas/doc/kcas/Kcas/" | ||
pin-depends: [ | ||
[ "picos.dev" "git+https://github.com/ocaml-multicore/picos#c035ca8ba4cf9b8d549367763c68e4a77ebfd532" ] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
(library | ||
(name kcas) | ||
(public_name kcas) | ||
(libraries domain-local-await domain-local-timeout backoff multicore-magic)) | ||
(libraries picos backoff multicore-magic)) | ||
|
||
(mdx | ||
(package kcas) | ||
(deps | ||
(package kcas)) | ||
(libraries kcas backoff domain_shims) | ||
(files kcas.mli)) | ||
;(mdx | ||
; (package kcas) | ||
; (deps | ||
; (package kcas)) | ||
; (libraries kcas backoff domain_shims) | ||
; (files kcas.mli)) |
Oops, something went wrong.