From: Wolfgang Bangerth Date: Mon, 30 Oct 2023 17:40:25 +0000 (-0600) Subject: Edit the description of a test. X-Git-Tag: relicensing~318^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9b9f0077f957de9db97d0cd91d7f339b40614fd;p=dealii.git Edit the description of a test. --- diff --git a/tests/multithreading/task_14.cc b/tests/multithreading/task_14.cc index 5623a02316..95c5c7428b 100644 --- a/tests/multithreading/task_14.cc +++ b/tests/multithreading/task_14.cc @@ -37,7 +37,10 @@ main() { initlog(); - // Create a bunch of tasks, and put them into a TaskGroup + // Create a bunch of tasks, and put them into a TaskGroup. The test + // also checks that the call to `new_task()` needs to copy the + // passed in value for `i` rather than take a reference to it, + // because it would otherwise use outdated values. Threads::TaskGroup tg; for (unsigned int i = 0; i < 10; ++i) tg += Threads::new_task(&test, i);