atrocities against memory

This commit is contained in:
user
2026-02-03 20:00:32 +01:00
parent 467fc6cd0c
commit 0d9c32fd14
2 changed files with 7 additions and 8 deletions

View File

@@ -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 );
};