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
..
2014-12-16 19:46:45 +00:00
2014-11-19 10:39:05 -08:00
2013-12-03 18:42:41 -08:00
2013-12-03 18:42:41 -08:00
2014-11-06 11:16:55 -08:00
2014-12-13 18:53:34 -08:00
2014-09-11 08:45:46 -07:00
2013-02-01 14:51:19 -08:00
2014-11-20 22:53:59 -08:00
2014-08-22 10:23:12 -07:00
2014-12-03 15:55:34 -08:00
2014-12-10 11:48:19 -08:00
2014-04-10 20:44:27 -07:00
2014-02-21 16:27:21 +00:00
2014-11-06 14:14:37 -08:00
2014-12-04 11:01:28 -08:00
2014-11-12 19:31:21 -08:00
2014-10-23 19:10:54 -07:00
2014-01-03 14:49:37 -08:00
2014-11-26 17:14:50 -08:00
2014-12-03 15:55:34 -08:00