commit | 19084c6242d8ddb366a52eba5084c974280cce0f | [log] [tgz] |
---|---|---|
author | Sharvil Nanavati <sharvil@google.com> | Mon Jun 23 16:30:46 2014 -0700 |
committer | Sharvil Nanavati <sharvil@google.com> | Thu Jul 03 06:30:22 2014 +0000 |
tree | 677ee98c4b503be736708e78f9be2df98c88afa3 | |
parent | b3c61229ccf38ea3f398f93902d348ba12a7fb07 [diff] |
Implement the reactor pattern in C. This code will form the basis of most select-based event loops in bluedroid. It provides a thread-safe abort routine and a separation between the dispatcher and event handler code. Change-Id: I6f1c033d18f045ba273187dab607c209dfe32d30