mco_edge_start

Initializes the edge runtime.

For an overview, see the Edge Client page.

Prototype

    MCO_RET mco_edge_start();
    

Description

Initializes the edge runtime and global structures (registry), analogous to mco_runtime_start().

As with the main database, calling this function explicitly is not strictly required (it will be invoked implicitly when needed). However, it is recommended to call it explicitly to avoid race conditions in multithreaded applications. It should be called once at application startup.

Return Codes

MCO_S_OK
Successful initialization.

Files

Header file:
mcoedge.h
Source file:
mcoedgedb.c
Library:
libmcoiotedge.a