OSDN Git Service

Switch to an epoll-based reactor implementation.
authorSharvil Nanavati <sharvil@google.com>
Wed, 13 Aug 2014 07:40:49 +0000 (00:40 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Mon, 16 Mar 2015 23:51:28 +0000 (16:51 -0700)
commitfbf89085bf308a98b00da77d1538539f6dd58604
tree82802f0ae12dec58034a2cc0683da6a841765329
parent278abce72967eaa496b402ffc867e37a4613c187
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.
hci/src/hci_inject.c
osi/include/list.h
osi/include/reactor.h
osi/include/socket.h
osi/include/thread.h
osi/src/list.c
osi/src/reactor.c
osi/src/socket.c
osi/src/thread.c
osi/test/reactor_test.cpp
osi/test/thread_test.cpp