ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
portable_platform.cpp File Reference

Platform answers for a target with no RTOS concept of a task - host builds included. More...

Go to the source code of this file.

Functions

uintptr_t pc_platform_context_id (void)
 

Detailed Description

Platform answers for a target with no RTOS concept of a task - host builds included.

Returns a single constant context id. Everything compares equal, so the pools' owner tripwire is inert here rather than raising a false alarm: with one context there is no cross-task borrow to catch. A vendor that DOES have tasks must supply its own, exactly as Espressif does.

Definition in file portable_platform.cpp.

Function Documentation

◆ pc_platform_context_id()

uintptr_t pc_platform_context_id ( void  )

Definition at line 17 of file portable_platform.cpp.