From 0dcf836b7124777465df59ed60295d405b09f1d3 Mon Sep 17 00:00:00 2001
From: MichelJuillard <michel.juillard@mjui.fr>
Date: Sat, 16 Dec 2023 10:16:11 +0100
Subject: [PATCH] closing comments (error in rebasing)

---
 src/ModelTree.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ModelTree.cc b/src/ModelTree.cc
index a3e1a7df..6f917c8f 100644
--- a/src/ModelTree.cc
+++ b/src/ModelTree.cc
@@ -1929,12 +1929,14 @@ ModelTree::initializeMEXCompilationWorkers(int numworkers, const filesystem::pat
   cout << "Spawning " << numworkers << " threads for compiling MEX files." << endl;
 
   for (int i {0}; i < numworkers; i++)
+  */
     /* Passing the stop_token by const reference is ok (and makes clang-tidy happier),
        since the std::jthread constructor calls the lambda with the return argument of the
        get_stop_token() method, which returns a stop_token by value; hence there is no lifetime
        issue. See:
        https://stackoverflow.com/questions/72990607/const-stdstop-token-or-just-stdstop-token-as-parameter-for-thread-funct
      */
+  /*
     mex_compilation_workers.emplace_back([](const stop_token& stoken) {
       unique_lock<mutex> lk {mex_compilation_mut};
       filesystem::path output;
-- 
GitLab