[v2,8/9] doc: reword stack library section in prog guide
Checks
Commit Message
Minor changes made to wording of the stack library section in prog guide.
Signed-off-by: Nandini Persad <nandinipersad361@gmail.com>
---
doc/guides/prog_guide/stack_lib.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Thu, 20 Jun 2024 19:32:53 -0700
Nandini Persad <nandinipersad361@gmail.com> wrote:
> Minor changes made to wording of the stack library section in prog guide.
>
> Signed-off-by: Nandini Persad <nandinipersad361@gmail.com>
> ---
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
@@ -44,8 +44,8 @@ Lock-free Stack
The lock-free stack consists of a linked list of elements, each containing a
data pointer and a next pointer, and an atomic stack depth counter. The
-lock-free property means that multiple threads can push and pop simultaneously,
-and one thread being preempted/delayed in a push or pop operation will not
+lock-free property means that multiple threads can push and pop simultaneously.
+One thread being preempted/delayed in a push or pop operation will not
impede the forward progress of any other thread.
The lock-free push operation enqueues a linked list of pointers by pointing the