commit | fbf89085bf308a98b00da77d1538539f6dd58604 | [log] [tgz] |
---|---|---|
author | Sharvil Nanavati <sharvil@google.com> | Wed Aug 13 00:40:49 2014 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Mon Mar 16 16:51:28 2015 -0700 |
tree | 82802f0ae12dec58034a2cc0683da6a841765329 | |
parent | 278abce72967eaa496b402ffc867e37a4613c187 [diff] |
Switch to an epoll-based reactor implementation. epoll is a much nicer interface that very closely matches the reactor interface. It's also thread-safe which makes it a more suitable choice for bluedroid. As a result of this change, reactor_register and reactor_unregister are both thread-safe without introducing any synchronization in user-space.