Declares a stack to use with a ThreadContext<>
without an integrated stack.
Allocating stacks alongside the ThreadContext
(e.g. with ThreadContext<1024>
) is simpler, but more limited. Declaring a ThreadStack
separately gives you more control. For example, you can:
PW_PLACE_IN_SECTION
.)alignas(256) pw::ThreadStack<1024>
).Public Types | |
using | native = internal::ThreadStackPointer |
Public Member Functions | |
constexpr native | native_pointer () |
constexpr size_t | native_size () const |