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
+9 -6
View File
@@ -1,10 +1,10 @@
/*
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
**
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
* Copyright 2002-2004, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
* Distributed under the terms of the NewOS License.
*/
#ifndef _THREAD_H
#define _THREAD_H
@@ -37,6 +37,9 @@ status_t thread_init(kernel_args *ka);
status_t thread_per_cpu_init(int32 cpu_num);
void thread_exit(void);
int32 thread_max_threads(void);
int32 thread_used_threads(void);
#define thread_get_current_thread arch_thread_get_current_thread
struct thread *thread_get_thread_struct(thread_id id);