atrocities against memory
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#include "../types.h"
|
||||
|
||||
/// Stack size for each thread
|
||||
constexpr uint32_t STACK_SIZE = 4096;
|
||||
constexpr uint32_t STACK_SIZE = 3096;
|
||||
|
||||
/*! \brief The Thread is an object used by the scheduler.
|
||||
* \ingroup thread
|
||||
@@ -35,7 +35,7 @@ class Thread {
|
||||
friend class Semaphore;
|
||||
/*! \brief Memory reserved for this threads stack
|
||||
*/
|
||||
alignas(16) char reserved_stack_space_user[STACK_SIZE];
|
||||
// alignas(16) char reserved_stack_space_user[STACK_SIZE];
|
||||
alignas(16) char reserved_stack_space_isr[STACK_SIZE];
|
||||
|
||||
protected:
|
||||
@@ -118,5 +118,5 @@ class Thread {
|
||||
//
|
||||
|
||||
|
||||
void* operator new ( std::size_t count );
|
||||
void* operator new ( size_t count );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user