From eeecbf6fb8305375bd265cd991d0c7a97e541133 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 15 Dec 2010 23:18:13 +0000 Subject: [PATCH] The header is no longer included from pure C sources, so we can finally freely use C++. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39859 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/thread_types.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/headers/private/kernel/thread_types.h b/headers/private/kernel/thread_types.h index 8d2dde6943..35734ff3c4 100644 --- a/headers/private/kernel/thread_types.h +++ b/headers/private/kernel/thread_types.h @@ -17,6 +17,7 @@ #include #include #include +#include #include @@ -105,16 +106,6 @@ struct team_watcher { #define MAX_DEAD_THREADS 32 // this is a soft limit for the number of thread death entries in a team -typedef struct team_dead_children team_dead_children; -typedef struct team_job_control_children team_job_control_children; -typedef struct job_control_entry job_control_entry; - - -#ifdef __cplusplus - -#include -#include - struct job_control_entry : DoublyLinkedListLinkImpl { job_control_state state; // current team job control state @@ -158,9 +149,6 @@ struct team_death_entry { }; -#endif // __cplusplus - - struct free_user_thread { struct free_user_thread* next; struct user_thread* thread; @@ -190,6 +178,8 @@ struct team { struct list dead_threads; int dead_threads_count; + // TODO: Remove the no longer necessary level of indirection for the + // following members. team_dead_children *dead_children; team_job_control_children *stopped_children; team_job_control_children *continued_children;