mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:08:10 +00:00
Kernel+LibPthread+LibC: Create secondary thread stacks in userspace
Have pthread_create() allocate a stack and passing it to the kernel instead of this work happening in the kernel. The more of this we can do in userspace, the better. This patch also unexposes the raw create_thread() and exit_thread() syscalls since they are now only used by LibPthread anyway.
This commit is contained in:
parent
6685be36a0
commit
e34ed04d1e
7 changed files with 30 additions and 33 deletions
|
@ -325,7 +325,6 @@ public:
|
|||
void set_default_signal_dispositions();
|
||||
void push_value_on_stack(u32);
|
||||
void make_userspace_stack_for_main_thread(Vector<String> arguments, Vector<String> environment);
|
||||
void make_userspace_stack_for_secondary_thread(void* argument);
|
||||
|
||||
void make_thread_specific_region(Badge<Process>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue