A simple question. I have some pre-rtos initialization which needs to occur, but this function could be called after the scheduler is invoked. In this case, I need to detect the scheduler is running and shut down some tasks. Is there an api to indicate the scheduler is running?
Set a flag to false
Do some initialization
Set flag to true
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.