commit | 753ad778bc1c3aecc4cd82b8387a7dc8a9b44d34 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Mar 20 20:47:45 2014 -0700 |
committer | Christopher Ferris <cferris@google.com> | Thu Mar 20 20:47:45 2014 -0700 |
tree | 6eedabf25b6c892f6eb95b847e3100c8245dcacf | |
parent | 2cc58603d5fd68ec582984318fb3c5f8865a186f [diff] |
Fix deadlock in timer_delete. If the callback function for a timer did a timer_delete, the function would never return. The problem was that the timer_delete function would try to wait until the timer thread has finished. Waiting for yourself to finish doesn't work very well. Bug: 13397340 Change-Id: Ica123a5bafbc8660c8a4a909e5c2dead55ca429d