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-05-14 18:18:55 -07:00
2014-04-07 16:41:53 -07:00
2014-04-07 16:41:53 -07:00
2014-04-07 16:41:53 -07:00
2014-07-14 12:05:16 -07:00
2014-06-06 16:49:39 -07:00
2014-05-29 10:51:22 -07:00
2014-12-29 13:29:50 -08:00
2014-11-26 17:14:50 -08:00
2014-07-14 15:48:02 -07:00
2014-08-22 11:05:48 -07:00
2014-10-09 11:47:01 -07:00
2014-06-20 09:06:57 -07:00
2014-11-21 19:27:28 -08:00
2013-08-08 17:52:06 -07:00
2014-06-20 09:06:57 -07:00
2014-06-02 10:32:55 -07:00
2014-12-29 13:29:50 -08:00
2014-08-22 10:23:12 -07:00
2014-08-22 10:23:12 -07:00
2014-06-03 17:22:07 -07:00
2014-10-23 19:10:54 -07:00
2014-10-09 11:47:01 -07:00
2014-12-29 13:29:50 -08:00
2014-09-11 08:45:46 -07:00
2014-12-04 11:01:28 -08:00
2014-05-14 10:02:03 -07:00
2014-11-12 21:03:26 -08:00
2014-07-16 16:07:10 -07:00
2014-12-29 13:29:50 -08:00
2014-12-29 13:29:50 -08:00
2014-04-30 14:30:15 +01:00
2014-01-02 12:05:50 -08:00
2013-10-09 17:35:36 -07:00
2013-10-09 17:35:36 -07:00
2014-12-08 21:52:43 -08:00
2014-08-28 16:37:09 -07:00
2014-04-16 16:09:41 -07:00
2014-02-12 19:04:27 -08:00
2014-11-14 16:22:48 -08:00
2014-07-28 09:43:21 -07:00
2014-12-29 13:29:50 -08:00
2014-10-07 11:28:47 -07:00
2014-05-13 10:14:22 -07:00
2014-12-29 13:29:50 -08:00
2014-06-13 16:04:41 -07:00