1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

Kernel: Use Userspace<T> for the join_thread syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 15:45:39 -07:00 committed by Andreas Kling
parent e8917cc5f3
commit d3847b3489
2 changed files with 2 additions and 2 deletions

View file

@ -306,7 +306,7 @@ public:
int sys$sched_getparam(pid_t pid, Userspace<struct sched_param*>);
int sys$create_thread(void* (*)(void*), Userspace<const Syscall::SC_create_thread_params*>);
void sys$exit_thread(void*);
int sys$join_thread(pid_t tid, void** exit_value);
int sys$join_thread(pid_t tid, Userspace<void**> exit_value);
int sys$detach_thread(pid_t tid);
int sys$set_thread_name(pid_t tid, Userspace<const char*> buffer, size_t buffer_size);
int sys$get_thread_name(pid_t tid, Userspace<char*> buffer, size_t buffer_size);