Merge pull request 'Pool Manager spill to higher pools option' (#135) from pool_manager_spilling_opt into develop
Reviewed-on: eive/fsfw#135
This commit is contained in:
commit
4c88ab80c8
@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
- Rename FW subsystem ID from `PCDU_2` to `POWER_SYSTEM_IF`.
|
||||
- Add new `SWITCH_UNKNOWN` returnvalue in `PowerSwitchIF`.
|
||||
- Pool Manager now allows enabling the `spillToHigherPools` option.
|
||||
|
||||
# [v6.0.0]
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
#include "fsfw/FSFW.h"
|
||||
|
||||
PoolManager::PoolManager(object_id_t setObjectId, const LocalPoolConfig& localPoolConfig)
|
||||
: LocalPool(setObjectId, localPoolConfig, true) {
|
||||
PoolManager::PoolManager(object_id_t setObjectId, const LocalPoolConfig& localPoolConfig, bool spillToHigherPools)
|
||||
: LocalPool(setObjectId, localPoolConfig, true, spillToHigherPools) {
|
||||
mutex = MutexFactory::instance()->createMutex();
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
*/
|
||||
class PoolManager : public LocalPool {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user