Skip to content

Commit

Permalink
Minor edit to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kayceesrk committed Dec 6, 2016
1 parent c20751f commit 025eac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kcas.mli
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ val kCAS : t list -> bool
(** [kCAS l] performs a lock-free multi-word CAS and returns [true] if the
multi-word CAS is successful. *)

(** The type of CAS result. *)
type 'a cas_result =
| Aborted
| Failed
| Success of 'a
(** The type of CAS result. *)

val try_map : 'a ref -> ('a -> 'a option) -> 'a cas_result
(** [try_map r f] invokes [f c], where [c] is the result of [get r]. If the
Expand Down

0 comments on commit 025eac5

Please sign in to comment.