Skip to content

Task Init should not return until the end #215

@Taylorr82

Description

@Taylorr82

I was browsing your repository and found this bit of code which is very similar to some of our old code. We had a problem where if one task failed to initialize, the init task would stop trying to initialize the rest of the tasks, resulting in a system that was less useable than it could have been. In particular, I see that your watchdog task initializes last giving it the highest risk for not starting. Since it's such an important feature, it should be allowed to start no matter what. The same is true for any task, in my opinion.

return E_GENERIC;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions