Added syscall for rename_thread(), courtesy of Jack Burton.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7631 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -150,6 +150,7 @@ enum {
|
||||
SYSCALL_SET_REAL_TIME_CLOCK,
|
||||
SYSCALL_DEBUG_OUTPUT,
|
||||
SYSCALL_GET_SYSTEM_INFO, /* 140 */
|
||||
SYSCALL_RENAME_THREAD
|
||||
};
|
||||
|
||||
int syscall_dispatcher(unsigned long call_num, void *arg_buffer, uint64 *call_ret);
|
||||
|
||||
@@ -51,6 +51,7 @@ extern thread_id _kern_spawn_thread(int32 (*func)(thread_func, void *), const ch
|
||||
extern thread_id _kern_find_thread(const char *name);
|
||||
extern status_t _kern_suspend_thread(thread_id thread);
|
||||
extern status_t _kern_resume_thread(thread_id thread);
|
||||
extern status_t _kern_rename_thread(thread_id thread, const char *newName);
|
||||
extern status_t _kern_set_thread_priority(thread_id thread, int32 newPriority);
|
||||
extern status_t _kern_kill_thread(thread_id thread);
|
||||
extern void _kern_exit_thread(status_t returnValue);
|
||||
|
||||
@@ -57,6 +57,7 @@ status_t _user_set_thread_priority(thread_id thread, int32 newPriority);
|
||||
status_t _user_rename_thread(thread_id thread, const char *name);
|
||||
status_t _user_suspend_thread(thread_id thread);
|
||||
status_t _user_resume_thread(thread_id thread);
|
||||
status_t _user_rename_thread(thread_id thread, const char *name);
|
||||
thread_id _user_spawn_thread(thread_func func, const char *name, int32 priority, void *arg1, void *arg2);
|
||||
status_t _user_wait_for_thread(thread_id id, status_t *_returnCode);
|
||||
status_t _user_snooze_etc(bigtime_t timeout, int timebase, uint32 flags);
|
||||
|
||||
Reference in New Issue
Block a user