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-04-03 13:37:18 -07:00
2015-04-09 22:14:09 +00:00
2015-03-31 14:57:48 -07:00
2015-03-25 17:54:17 -07:00
2015-02-14 13:21:22 -08:00
2015-04-09 11:15:27 +01:00
2015-04-03 12:37:03 -07:00
2014-12-18 16:27:30 -08:00
2015-04-03 12:37:03 -07:00