Skip to content

Commit

Permalink
Bug 1194721: Add interface for Gonk sensors daemon, r=gsvelto
Browse files Browse the repository at this point in the history
This patch adds the interface for the Gonk sensors daemon. There
are only two major interfaces: connect and disconnect. The sensors
daemon is started before connecting and stopped after a disconnect.

Connections are race-free: we first set up a listen socket and let
Gecko listen for connections. Then the daemon gets started with the
socket's address as parameter. When the daemon connects to the
socket, Gecko will continue the startup and signal success to the
caller.
  • Loading branch information
tdz committed Feb 4, 2016
1 parent 5cefc72 commit 4d26cce
Show file tree
Hide file tree
Showing 3 changed files with 685 additions and 0 deletions.
Loading

0 comments on commit 4d26cce

Please sign in to comment.