git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11973 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
dc372ee19f
commit
f7099a9f93
|
@ -2946,7 +2946,7 @@ namespace chibios_rt {
|
|||
/**
|
||||
* @brief Template class encapsulating a pool of threads.
|
||||
*/
|
||||
template<size_t S, size_t N>
|
||||
template<size_t S, size_t N, const char *C>
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue