1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 05:37:35 +00:00

Kernel + LibPthread: Use Userspace<T> in the create_thread syscall

This commit is contained in:
Brian Gianforcaro 2020-08-05 00:11:56 -07:00 committed by Andreas Kling
parent 337e8f98cd
commit 7490ea9449
4 changed files with 6 additions and 6 deletions

View file

@ -296,7 +296,7 @@ public:
int sys$getpeername(const Syscall::SC_getpeername_params*);
int sys$sched_setparam(pid_t pid, Userspace<const struct sched_param*>);
int sys$sched_getparam(pid_t pid, Userspace<struct sched_param*>);
int sys$create_thread(void* (*)(void*), const Syscall::SC_create_thread_params*);
int sys$create_thread(void* (*)(void*), Userspace<const Syscall::SC_create_thread_params*>);
void sys$exit_thread(void*);
int sys$join_thread(int tid, void** exit_value);
int sys$detach_thread(int tid);