* Added function team_init_exit_info_on_error() which initializes the team's

exit info with some generic status.
* team_create_thread_start(), common_thread_entry(): Initializes the team's
  exit info (if that's the main thread) before calling thread_exit(). Fixes
  #7686.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42183 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2011-06-14 13:04:31 +00:00
parent dc2b8faba2
commit 9437559db1
3 changed files with 27 additions and 0 deletions
+1
View File
@@ -36,6 +36,7 @@ char **user_team_get_arguments(void);
int user_team_get_arg_count(void);
struct job_control_entry* team_get_death_entry(Team *team,
thread_id child, bool* _deleteEntry);
void team_init_exit_info_on_error(Team* team);
bool team_is_valid(team_id id);
Team *team_get_team_struct_locked(team_id id);
int32 team_max_teams(void);