Yabin Cui 19e246dda6 Fix possible leak in pthread_detach.
If pthread_detach() is called while the thread is in pthread_exit(),
it takes the risk that no one can free the pthread_internal_t.
So I add PTHREAD_ATTR_FLAG_ZOMBIE to detect this, maybe very rare, but
both glibc and netbsd libpthread have similar function.

Change-Id: Iaa15f651903b8ca07aaa7bd4de46ff14a2f93835
2015-01-15 10:45:25 -08:00
..
2015-01-08 22:22:27 -08:00
2015-01-08 17:28:46 -08:00
2014-12-10 07:53:07 +00:00
2014-12-18 16:27:30 -08:00
2014-10-29 13:42:23 -07:00
2014-11-11 16:44:21 -08:00
2014-12-18 16:27:30 -08:00