Skip to content

Commit fe80cdf

Browse files
committed
Improve wording of the section describing the Op interface
1 parent 4f9fc0f commit fe80cdf

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -853,12 +853,10 @@ an operation to change the capacity of the cache.
853853

854854
### Programming with primitive operations
855855

856-
The [`Op`](https://ocaml-multicore.github.io/kcas/doc/kcas/Kcas/Op/index.html)
857-
module is probably most suitable when using **kcas** as a means to design and
858-
implement new lock-free algorithms.
859-
860-
To program with primitive operations one simply makes a list of CAS operations
861-
using
856+
In addition to the transactional interface, **kcas** also provides the
857+
[`Op`](https://ocaml-multicore.github.io/kcas/doc/kcas/Kcas/Op/index.html)
858+
interface for performing a list of primitive operations. To program with
859+
primitive operations one simply makes a list of CAS operations using
862860
[`make_cas`](https://ocaml-multicore.github.io/kcas/doc/kcas/Kcas/Op/index.html#val-make_cas)
863861
and then attempts them using
864862
[`atomically`](https://ocaml-multicore.github.io/kcas/doc/kcas/Kcas/Op/index.html#val-atomically).

0 commit comments

Comments
 (0)