Extended the get_system_info() mechanism; it now gets info about threads/teams

as well as architecture specific stuff.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10313 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-11-30 21:06:11 +00:00
parent f79889e75b
commit 545ecbe86d
4 changed files with 54 additions and 13 deletions
+6 -4
View File
@@ -1,7 +1,7 @@
/*
** Copyright 2004, The Haiku Team. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
* Copyright 2002-2004, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*/
#ifndef _TEAM_H
#define _TEAM_H
@@ -14,7 +14,7 @@
extern "C" {
#endif
int team_init(kernel_args *ka);
status_t team_init(kernel_args *args);
team_id team_create_team(const char *path, const char *name, char **args, int argc,
char **envp, int envc, int priority);
status_t wait_for_team(team_id id, status_t *returnCode);
@@ -29,6 +29,8 @@ char **user_team_get_arguments(void);
int user_team_get_arg_count(void);
bool team_is_valid(team_id id);
struct team *team_get_team_struct_locked(team_id id);
int32 team_max_teams(void);
int32 team_used_teams(void);
// used in syscalls.c
thread_id _user_load_image(int32 argCount, const char **args, int32 envCount, const char **envp, int32 priority);