Skip to content

Conversation

@torgeiru
Copy link
Contributor

Set_thread_area and arch_prctl are functions
used for setting the thread pointer. This is used
for thread local storage.

Currently arch_prctl goes through a system call trap. This patches musl so that it goes through a typical function call instead.

Also, this moves the implementation of these
function calls to architecture, removing the need for macros.

…usl calls

Set_thread_area and arch_prctl are functions
used for setting the thread pointer. This is used
for thread local storage.

Currently arch_prctl goes through a system call trap.
This patches musl so that it goes through a typical
function call instead.

Also, this moves the implementation of these
function calls to architecture, removing the need for
macros.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant