Yabin Cui 95f1ee235a Change on handling of SIGEV_THREAD timers.
1. Don't prevent calling callback when SIGEV_THREAD timers are disarmed by timer_settime.
As in POSIX standard: The effect of disarming or resetting a timer with pending
expiration notifications is unspecified. And glibc didn't prevent in this situation, so I
think it is fine to remove the support.
2. Still prevent calling callback when SIGEV_THREAD timers are deleted by timer_delete.
As in POSIX standard: The disposition of pending signals for the deleted timer is unspecified.
However, glibc handles this (although that is not perfect). And some of our tests in
time_test.cpp depend on this feature as described in b/18039727. so I retain the support.
3. Fix some flaky test in time_test.cpp, and make "time*" test pass on bionic-unit-tests-glibcxx.

Bug: 18263854

Change-Id: I8ced184eacdbfcf433fd81b0c69c38824beb8ebc
2015-04-15 17:36:01 -07:00
..
2015-02-14 00:56:46 +08: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
2015-04-09 14:56:26 -07:00
2015-04-09 14:56:26 -07:00
2015-01-26 11:57:11 -08:00
2014-09-11 08:45:46 -07:00
2013-02-01 14:51:19 -08:00
2014-08-22 10:23:12 -07:00
2015-02-14 00:56:46 +08:00
2015-02-14 00:56:46 +08:00
2014-12-03 15:55:34 -08:00
2014-04-10 20:44:27 -07:00
2014-02-21 16:27:21 +00:00
2015-01-21 10:33:30 -08:00
2014-11-06 14:14:37 -08:00
2014-12-04 11:01:28 -08:00
2014-01-03 14:49:37 -08:00
2015-04-06 19:05:58 -07:00
2014-12-03 15:55:34 -08:00