MCPcopy Create free account
hub / github.com/DISTORTEC/distortos / push

Method push

source/synchronization/RawMessageQueue.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50int RawMessageQueue::push(const uint8_t priority, const void* const data, const size_t size)
51{
52 CHECK_FUNCTION_CONTEXT();
53
54 const internal::SemaphoreWaitFunctor semaphoreWaitFunctor;
55 return pushInternal(semaphoreWaitFunctor, priority, data, size);
56}
57
58int RawMessageQueue::tryPop(uint8_t& priority, void* const buffer, const size_t size)
59{

Callers 1

pushInternalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected