diff options
-rw-r--r-- | src/testbed/testbed_api_operations.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testbed/testbed_api_operations.c b/src/testbed/testbed_api_operations.c index 2ca5a4cf2..f20d79699 100644 --- a/src/testbed/testbed_api_operations.c +++ b/src/testbed/testbed_api_operations.c | |||
@@ -806,10 +806,13 @@ cleanup_tslots (struct OperationQueue *queue) | |||
806 | 806 | ||
807 | 807 | ||
808 | /** | 808 | /** |
809 | * Initializes the operation queue for parallel overlay connects | 809 | * Cleansup the existing timing slots and sets new timing slots in the given |
810 | * queue to accommodate given number of max active operations. | ||
810 | * | 811 | * |
811 | * @param h the host handle | 812 | * @param queue the queue |
812 | * @param npoc the number of parallel overlay connects - the queue size | 813 | * @param n the number of maximum active operations. If n is greater than the |
814 | * maximum limit set while creating the queue, then the minimum of these two | ||
815 | * will be selected as n | ||
813 | */ | 816 | */ |
814 | static void | 817 | static void |
815 | adaptive_queue_set_max_active (struct OperationQueue *queue, unsigned int n) | 818 | adaptive_queue_set_max_active (struct OperationQueue *queue, unsigned int n) |