Another component in the process view of the code is the asynchronous timer. The main task issues timer requests to be notified about timeouts and scheduled actions. The timer module asynchronously notifies the main task when timeout events are occurring. An example is shown in the following figure.
● In some applications there will be no basic activities implemented as tasks. In those cases, the only processes that exist are the main task and the asynchronous timer. If basic-activity tasks exist, the main task issues tasking control calls such as start, suspend, etc.
● There are cases where the user implements environment tasks, but none of the basic-activities are implemented as a task. In these cases, the generated-code (the main task) does not use any tasking services. The code does not need a multi-threading adaptor unless the user connects a panel to the executable.