Discriminate between process and thread signals
|Reported by:||bonefish||Owned by:||bonefish|
Currently Haiku (hrev36030) handles a signal sent to a process (e.g. by kill()) as a signal to the team's main thread. That's incorrect. The signal should be handled by any of the team's threads that doesn't block this signal. Cf. http://www.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04.