Added a queue to the team structure for the registered images.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2423 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-01-12 16:25:04 +00:00
parent 29164895ac
commit c679492034
+4
View File
@@ -13,6 +13,7 @@
#include <smp.h>
#include <signal.h>
#include <timer.h>
#include <kqueue.h>
#include <arch/thread_struct.h>
@@ -47,6 +48,8 @@ enum team_state {
#define THREAD_RETURN_EXIT 0x1
#define THREAD_RETURN_INTERRUPTED 0x2
struct image;
// defined in image.c
struct team {
struct team *next; /* next team in the hash */
@@ -63,6 +66,7 @@ struct team {
addr user_env_base;
struct thread *main_thread;
struct thread *thread_list;
struct quehead image_queue;
struct arch_team arch_info;
};