Pool Manager spill to higher pools option #135

Merged
muellerr merged 2 commits from pool_manager_spilling_opt into develop 2023-03-14 18:22:31 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 40405fe6c7 - Show all commits

View File

@ -2,8 +2,8 @@
#include "fsfw/FSFW.h" #include "fsfw/FSFW.h"
PoolManager::PoolManager(object_id_t setObjectId, const LocalPoolConfig& localPoolConfig) PoolManager::PoolManager(object_id_t setObjectId, const LocalPoolConfig& localPoolConfig, bool spillToHigherPools)
: LocalPool(setObjectId, localPoolConfig, true) { : LocalPool(setObjectId, localPoolConfig, true, spillToHigherPools) {
mutex = MutexFactory::instance()->createMutex(); mutex = MutexFactory::instance()->createMutex();
} }

View File

@ -21,7 +21,7 @@
*/ */
class PoolManager : public LocalPool { class PoolManager : public LocalPool {
public: public:
PoolManager(object_id_t setObjectId, const LocalPoolConfig& poolConfig); PoolManager(object_id_t setObjectId, const LocalPoolConfig& poolConfig, bool spillToHigherPools);
/** /**
* @brief In the PoolManager's destructor all allocated memory * @brief In the PoolManager's destructor all allocated memory