advsync: Fix the abstract description of the queuetorture.h
PATCH 1/1 advsync: Fix the abstract description of the queuetorture.h
The words should describe queuetorture.h instead of deqtorture.h. Also, add the parentheses to 'create_thread' in the comments of concurrent_pop.
Signed-off-by Chin En Lin <[email protected]>
--- CodeSamples/advsync/queuetorture.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
CodeSamples/advsync/queuetorture.h +2 -2
@@ -1,5 +1,5 @@/* -* deqtorture.h: torture tests for double-ended queue. +* queuetorture.h: torture tests for simple queue. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -82,7 +82,7 @@ void *concurrent_push(void *arg)* Dequeue as specified by the q_test structure. This may be called * directly (in which case the number of elements to be popped must * be exactly that required and the specified goflag already set to -* GOFLAG_START), or via create_thread. +* GOFLAG_START), or via create_thread(). */ void *concurrent_pop (void *arg) {
Signature · 1 line
2.25.1
Quoted 5 lines · Chin En Lin
The words should describe
queuetorture.hinstead ofdeqtorture.h. Also, add the parentheses to 'create_thread' in the comments ofconcurrent_pop.Signed-off-by Chin En Lin <[email protected]>
Good catch! Queued and pushed, thank you.
Thanx, Paul
Quoted 27 lines
--- CodeSamples/advsync/queuetorture.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)CodeSamples/advsync/queuetorture.h +2
-2@@ -1,5 +1,5 @@/* -* deqtorture.h: torture tests for double-ended queue. +* queuetorture.h: torture tests for simple queue. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -82,7 +82,7 @@ void *concurrent_push(void *arg)* Dequeue as specified by the q_test structure. This may be called * directly (in which case the number of elements to be popped must * be exactly that required and the specified goflag already set to -* GOFLAG_START), or via create_thread. +* GOFLAG_START), or via create_thread(). */ void *concurrent_pop (void *arg) {Signature · 1 line
2.25.1