]> https://gitweb.dealii.org/ - dealii.git/commit
Fix tests/base/task_09.cc. 4429/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 28 May 2017 17:35:17 +0000 (13:35 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 28 May 2017 17:35:17 +0000 (13:35 -0400)
commit979bd39e5d568edbe1ba5e28e1735214bb764513
treecec91d275d240ed11adcd9939df6840c64896eeb
parent1bb1f1baec71405a322976aae128da0b4e199513
Fix tests/base/task_09.cc.

The current implementation of the Task class will call join() on the created
thread in its destructor. Hence, the tasks in the loop run in sequence instead
of in parallel since they immediately go out of scope after each loop iteration,
which is not the point of the test.
tests/base/task_09.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.