mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-08-06 11:07:34 +00:00
SharedMemFixes
This commit is contained in:
@@ -20,7 +20,7 @@ namespace sta
|
||||
* @ingroup STA_RTOS_API
|
||||
*/
|
||||
template <typename T>
|
||||
class RtosMemPool
|
||||
class RtosSharedMem
|
||||
{
|
||||
public:
|
||||
using Message = T; /**< message type */
|
||||
@@ -32,10 +32,9 @@ namespace sta
|
||||
/**
|
||||
* @brief Create a memory pool. And allocates exavlty one block.
|
||||
*
|
||||
* @param block_size names the size of each block.
|
||||
* @param timeout names the timeout in milliseconds.
|
||||
*/
|
||||
RtosSharedMem(uint32_t block_size, uint32_t timeout);
|
||||
RtosSharedMem(uint32_t timeout);
|
||||
|
||||
/**
|
||||
* @brief Destroy the Rtos Mem Pool object and frees the memory.
|
||||
|
Reference in New Issue
Block a user