Incorporated NewOS change 1930: sends the parent SIGCHLD if the team goes away. create_thread() now returns B_BAD_TEAM_ID when the team is in death state instead of ERR_TASK_PROC_DELETED. Cleaned headers. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6997 a95241bf-73f2-0310-859d-f6bbb57e9c96