]> https://gitweb.dealii.org/ - dealii.git/commit
Clean up task_09 a bit. 4433/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 28 May 2017 21:46:24 +0000 (17:46 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 28 May 2017 21:46:24 +0000 (17:46 -0400)
commit7aca10fd0bb203a62c3cf5fd53c9aa79ab10c9b1
treee030151c6d5338961f85da47f9296194c094dae1
parent4eaee907ef75ec243e5cc49200d8c24b2f9cc849
Clean up task_09 a bit.

This commit applies some small cleanups to this test (e.g., preferring C++11
functionality to POSIX) and, in addition, makes the following changes:
1. The OK message won't be set to deallog until after tasks is destroyed (i.e.,
   all threads must join).
2. If on a POSIX platform, unset the thread environment variable so that we
   really can run the 'right' number of threads.
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.