In the example in Listing 6.13, there is a flag,
which should indicate that an error has been
detected by CheckTasksAreRunningWithoutError().
This flag was always set, even if the result from
the function call is not pdFAIL. For correct
usage of the flag it should be placed inside the
if condition.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes:
In the example in Listing 6.13, there is a flag, which should indicate that an error has been detected by CheckTasksAreRunningWithoutError(). This flag was always set, even if the result from the function call is not pdFAIL. For correct usage of the flag it should be placed inside the if condition.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.