From 25c642a7fab80cb308041ae2aed7382c4e04fd42 Mon Sep 17 00:00:00 2001 From: chihebabid <chiheb.abid@fst.utm.tn> Date: Sat, 14 May 2022 22:50:55 +0100 Subject: [PATCH] Add some comments --- src/algorithm/CNDFS.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/algorithm/CNDFS.cpp b/src/algorithm/CNDFS.cpp index bc0d291..83bf87e 100644 --- a/src/algorithm/CNDFS.cpp +++ b/src/algorithm/CNDFS.cpp @@ -73,6 +73,9 @@ void CNDFS::DfsBlue() { } */ +/* + * @Brief Create threads + */ void CNDFS::spawnThreads() { for (int i = 0; i < mNbTh; ++i) { mlThread[i] = new thread(threadHandler, this); @@ -88,8 +91,9 @@ void CNDFS::threadHandler(void *context) { } /* - * Compute the synchornized product + * @brief Compute the synchornized product */ void CNDFS::computeProduct() { + mIdThread++; } \ No newline at end of file -- GitLab