diff options
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc/block_container.hpp')
-rw-r--r-- | host/lib/include/uhdlib/rfnoc/block_container.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/include/uhdlib/rfnoc/block_container.hpp b/host/lib/include/uhdlib/rfnoc/block_container.hpp index e32feed52..b43a7bc61 100644 --- a/host/lib/include/uhdlib/rfnoc/block_container.hpp +++ b/host/lib/include/uhdlib/rfnoc/block_container.hpp @@ -43,6 +43,12 @@ public: */ noc_block_base::sptr get_block(const block_id_t& block_id) const; + /*! Call shutdown() on all blocks + * + * After calling this, blocks won't be able to do anything anymore! + */ + void shutdown(); + private: //! Lock access to the storage mutable std::mutex _mutex; |