RTE OSAdapter POSIX 0.1.0 build 41b3eb3
POSIX/Linux OAL OSAdapter for Platform_RTE
Loading...
Searching...
No Matches
rte_posix_osadapter.c File Reference

Aggregator: registers the POSIX OSAdapter with every OAL service in one call (ADR-018 section 2.1). More...

Include dependency graph for rte_posix_osadapter.c:

Go to the source code of this file.

Functions

rte_status_t rte_posix_osadapter_register_all (void)
 Registers this file's POSIX OSAdapter with every OAL service in one call. Call once at process startup, before any other rte_<service>_* function. Creates the memory OSAdapter's priority-inheritance pool lock (rte_posix_osadapter_memory_init()) before registering that OSAdapter.

Detailed Description

Aggregator: registers the POSIX OSAdapter with every OAL service in one call (ADR-018 section 2.1).

Definition in file rte_posix_osadapter.c.

Function Documentation

◆ rte_posix_osadapter_register_all()

rte_status_t rte_posix_osadapter_register_all ( void )

Registers this file's POSIX OSAdapter with every OAL service in one call. Call once at process startup, before any other rte_<service>_* function. Creates the memory OSAdapter's priority-inheritance pool lock (rte_posix_osadapter_memory_init()) before registering that OSAdapter.

Local makros Local types declarations Local variables declarations Global variables declarations Local function declarations Global functions

Returns
RTE_STATUS_OK if every service registered successfully; the first non-OK status encountered otherwise (registration stops at the first failure - a partially-registered state is itself a startup fault, not something to paper over).

Definition at line 21 of file rte_posix_osadapter.c.