[PATCH] advsync: Fix the abstract description of the queuetorture.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <shiyn.lin@xxxxxxxxx>
---
 CodeSamples/advsync/queuetorture.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CodeSamples/advsync/queuetorture.h b/CodeSamples/advsync/queuetorture.h
index 29743ef5..c02d4736 100644
--- a/CodeSamples/advsync/queuetorture.h
+++ b/CodeSamples/advsync/queuetorture.h
@@ -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)
 {
-- 
2.25.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux