Skip to content

Commit

Permalink
Changed the default Thread TempMemSize from 0 to 128KiB
Browse files Browse the repository at this point in the history
Can't do anything without temp mem, can't even call gTrace. So better have a non-zero default.
  • Loading branch information
jlaumon committed Dec 16, 2024
1 parent df0f705 commit 960b3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bedrock/Thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ struct ThreadConfig
{
String mName = ""; // The thread name.
int mStackSize = 128_KiB; // The stack size of the thread.
int mTempMemSize = 0; // Initialize a temp memory of that size of the thread. Can be 0.
int mTempMemSize = 128_KiB; // Initialize a temp memory of that size of the thread. Can be 0.
EThreadPriority mPriority = EThreadPriority::Normal; // The priority of the thread.
};

Expand Down

0 comments on commit 960b3d4

Please sign in to comment.