OSDN Git Service

Implement the reactor pattern in C.
authorSharvil Nanavati <sharvil@google.com>
Mon, 23 Jun 2014 23:30:46 +0000 (16:30 -0700)
committerSharvil Nanavati <sharvil@google.com>
Thu, 3 Jul 2014 06:30:22 +0000 (06:30 +0000)
commit19084c6242d8ddb366a52eba5084c974280cce0f
tree677ee98c4b503be736708e78f9be2df98c88afa3
parentb3c61229ccf38ea3f398f93902d348ba12a7fb07
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
osi/Android.mk
osi/include/osi.h
osi/include/reactor.h [new file with mode: 0644]
osi/src/reactor.c [new file with mode: 0644]
osi/test/reactor_test.cpp [new file with mode: 0644]