mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:17:36 +00:00
Kernel: Use Userspace<T> for the exit_thread syscall
Userspace<void*> is a bit strange here, as it would appear to the user that we intend to de-refrence the pointer in kernel mode. However I think it does a good join of illustrating that we are treating the void* as a value type, instead of a pointer type.
This commit is contained in:
parent
d3847b3489
commit
0e627b0273
3 changed files with 4 additions and 4 deletions
|
@ -305,7 +305,7 @@ public:
|
|||
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*), Userspace<const Syscall::SC_create_thread_params*>);
|
||||
void sys$exit_thread(void*);
|
||||
void sys$exit_thread(Userspace<void*>);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue