QP-nano  6.9.0
Real-Time Embedded Framework
qvn.c File Reference

QV-nano implementation. More...

#include "qpn_conf.h"
#include "qfn_port.h"
#include "qassert.h"

Go to the source code of this file.

Functions

int_t QF_run (void)
 

Function Documentation

◆ QF_run()

int_t QF_run ( void  )
Description
QF_run() is typically called from your startup code after you initialize the QF and start at least one active object with QActive_start(). This implementation of QF_run() is for the cooperative Vanilla kernel.
Returns
QF_run() typically does not return in embedded applications. However, when QP runs on top of an operating system, QF_run() might return and in this case the return represents the error code (0 for success). Typically the value returned from QF_run() is subsequently passed on as return from main().
Precondition
the number of active objects must be initialized by calling: QF_init(Q_DIM(QF_active));

Definition at line 64 of file qvn.c.