From 9b5b15e8cb44a89f345c676c59837549a38b08a4 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 16 Mar 2021 21:43:09 +0100 Subject: [PATCH] Update comment --- tests/test-mbuffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test-mbuffer.c b/tests/test-mbuffer.c index 57854e4d..bad6479c 100644 --- a/tests/test-mbuffer.c +++ b/tests/test-mbuffer.c @@ -74,7 +74,8 @@ static void conso(void *arg) buffer_uint_pop(&j, g_buff); assert (j < MAX_COUNT); // Each thread fill in its own row of the matrix, ensuring separate access. - // We don't want atomic access which may perturbate the test. + // We don't want atomic access which may perturbate the test + // by adding memory barries that will hide some issues in the code. g_count[thread_id][j] ++; } }