Skip to content

Commit

Permalink
Fix association of special comments in threadext.mli
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Liu <[email protected]>
  • Loading branch information
Vincent-lau committed Nov 22, 2023
1 parent 665a15f commit 2cf1b2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/xapi-stdext-threads/threadext.mli
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ module Delay : sig
type t

val make : unit -> t

val wait : t -> float -> bool
(** Blocks the calling thread for a given period of time with the option of
returning early if someone calls 'signal'. Returns true if the full time
period elapsed and false if signalled. Note that multple 'signals' are
coalesced; 'signals' sent before 'wait' is called are not lost. *)

val wait : t -> float -> bool
(** Sends a signal to a waiting thread. See 'wait' *)

val signal : t -> unit
(** Sends a signal to a waiting thread. See 'wait' *)
end

0 comments on commit 2cf1b2f

Please sign in to comment.