Skip to content

Commit

Permalink
Export poll.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Jul 8, 2023
1 parent 1a90b7d commit 84a198f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/duppy.mli
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@ val create :
unit ->
'a scheduler

(** Internal polling function. Uses `Unix.select` on windows and
`poll` otherwise. *)
val poll :
Unix.file_descr list ->
Unix.file_descr list ->
Unix.file_descr list ->
float ->
Unix.file_descr list * Unix.file_descr list * Unix.file_descr list

(** [queue ~log ~priorities s name]
* starts a queue, on the scheduler [s] only processing priorities [p]
* for which [priorities p] returns [true].
Expand Down

0 comments on commit 84a198f

Please sign in to comment.