Skip to content

Commit

Permalink
remove IO channels (better use iostream); make Heap private
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Mar 6, 2024
1 parent a405697 commit d069585
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 275 deletions.
154 changes: 0 additions & 154 deletions src/unix/IO_in.ml

This file was deleted.

119 changes: 0 additions & 119 deletions src/unix/IO_out.ml

This file was deleted.

2 changes: 1 addition & 1 deletion src/unix/dune
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
(public_name moonpool.unix)
(optional)
(synopsis "Simple Unix-based event loop for moonpool")
(private_modules common_)
(private_modules common_ heap_)
(libraries moonpool moonpool.fib unix
(select time.ml from
(mtime mtime.os.clock -> time.mtime.ml)
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/unix/timer.ml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type task = {
kind: kind;
}

module Task_heap = Heap.Make (struct
module Task_heap = Heap_.Make (struct
type t = task

let[@inline] leq t1 t2 = t1.deadline <= t2.deadline
Expand Down

0 comments on commit d069585

Please sign in to comment.