Commit f4f93e6
committed
Fix file simple test for non threaded tests
The simple file test deadlocked when run without mpi2-threads being
enabled. This was caused by calling and checking for a thread with
number 0. Instead one should check for TST_THREAD_MASTER - and do not
use thread related code in non-threaded runs, i.e., put ifdefs around.
Signed-off-by: Christoph Niethammer <[email protected]>1 parent 12230b3 commit f4f93e6
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
0 commit comments