From 20d8db460ac65724d67fe252e97771b636707b45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 16 Mar 2017 14:05:39 -0400 Subject: [PATCH] uatomic-api docs: use the third-person singular MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau Signed-off-by: Mathieu Desnoyers --- doc/uatomic-api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/uatomic-api.md b/doc/uatomic-api.md index 2dd63c6..9dd0c1c 100644 --- a/doc/uatomic-api.md +++ b/doc/uatomic-api.md @@ -51,7 +51,7 @@ type uatomic_cmpxchg(type *addr, type old, type new) An atomic read-modify-write operation that performs this sequence of operations atomically: check if `addr` contains `old`. If true, then replace the content of `addr` by `new`. Return the -value previously contained by `addr`. This function imply a full +value previously contained by `addr`. This function implies a full memory barrier before and after the atomic operation. @@ -62,7 +62,7 @@ type uatomic_xchg(type *addr, type new) An atomic read-modify-write operation that performs this sequence of operations atomically: replace the content of `addr` by `new`, and return the value previously contained by `addr`. This -function imply a full memory barrier before and after the atomic +function implies a full memory barrier before and after the atomic operation. @@ -74,7 +74,7 @@ type uatomic_sub_return(type *addr, type v) An atomic read-modify-write operation that performs this sequence of operations atomically: increment/decrement the content of `addr` by `v`, and return the resulting value. This -function imply a full memory barrier before and after the atomic +function implies a full memory barrier before and after the atomic operation. -- 2.34.1