From f7099a9f93af29bc521c3c45d55fb6fd8496153b Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 28 Apr 2018 20:17:37 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11973 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/various/cpp_wrappers/ch.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp index 4ffa7e537..49d33a4cb 100644 --- a/os/various/cpp_wrappers/ch.hpp +++ b/os/various/cpp_wrappers/ch.hpp @@ -2946,7 +2946,7 @@ namespace chibios_rt { /** * @brief Template class encapsulating a pool of threads. */ - template + template class ThreadsPool : public BaseDynamicThread { THD_WORKING_AREA(working_areas, S)[N]; MemoryPool threads_pool; @@ -2975,7 +2975,7 @@ namespace chibios_rt { void _thd_start(void *arg); return ThreadReference(chThdCreateFromMemoryPool(&threads_pool.pool, - "", + C, prio, _thd_start, this)); @@ -3017,7 +3017,6 @@ namespace chibios_rt { Heap(Heap &&) = default; Heap &operator=(Heap &&) = default; - /** * @brief Allocates an object from a heap. * @pre The heap must be already been initialized.