mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:37:42 +00:00
LibPthread: Make some variables static
This commit is contained in:
parent
e679530380
commit
f63f471b87
1 changed files with 3 additions and 3 deletions
|
@ -29,9 +29,9 @@ using PthreadAttrImpl = Syscall::SC_create_thread_params;
|
|||
|
||||
} // end anonymous namespace
|
||||
|
||||
constexpr size_t required_stack_alignment = 4 * MiB;
|
||||
constexpr size_t highest_reasonable_guard_size = 32 * PAGE_SIZE;
|
||||
constexpr size_t highest_reasonable_stack_size = 8 * MiB; // That's the default in Ubuntu?
|
||||
static constexpr size_t required_stack_alignment = 4 * MiB;
|
||||
static constexpr size_t highest_reasonable_guard_size = 32 * PAGE_SIZE;
|
||||
static constexpr size_t highest_reasonable_stack_size = 8 * MiB; // That's the default in Ubuntu?
|
||||
|
||||
#define __RETURN_PTHREAD_ERROR(rc) \
|
||||
return ((rc) < 0 ? -(rc) : 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue