Added new syscalls _kern_block_thread()/_kern_unblock_thread[s]().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25469 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -130,6 +130,11 @@ extern status_t _kern_get_team_info(team_id id, team_info *info);
|
||||
extern status_t _kern_get_next_team_info(int32 *cookie, team_info *info);
|
||||
extern status_t _kern_get_team_usage_info(team_id team, int32 who, team_usage_info *info, size_t size);
|
||||
|
||||
extern status_t _kern_block_thread(uint32 flags, bigtime_t timeout);
|
||||
extern status_t _kern_unblock_thread(thread_id thread, status_t status);
|
||||
extern status_t _kern_unblock_threads(thread_id* threads, uint32 count,
|
||||
status_t status);
|
||||
|
||||
// user/group functions
|
||||
extern gid_t _kern_getgid(bool effective);
|
||||
extern uid_t _kern_getuid(bool effective);
|
||||
|
||||
@@ -117,6 +117,11 @@ thread_id _user_find_thread(const char *name);
|
||||
status_t _user_get_thread_info(thread_id id, thread_info *info);
|
||||
status_t _user_get_next_thread_info(team_id team, int32 *cookie, thread_info *info);
|
||||
|
||||
status_t _user_block_thread(uint32 flags, bigtime_t timeout);
|
||||
status_t _user_unblock_thread(thread_id thread, status_t status);
|
||||
status_t _user_unblock_threads(thread_id* threads, uint32 count,
|
||||
status_t status);
|
||||
|
||||
// ToDo: these don't belong here
|
||||
struct rlimit;
|
||||
int _user_getrlimit(int resource, struct rlimit * rlp);
|
||||
|
||||
Reference in New Issue
Block a user