<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_system_connectivity_wifilogd/main_loop.cpp, branch o-preview</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_connectivity_wifilogd/'/>
<entry>
<title>MainLoop: improve error handling</title>
<updated>2016-11-15T19:12:35+00:00</updated>
<author>
<name>mukesh agrawal</name>
<email>quiche@google.com</email>
</author>
<published>2016-11-12T00:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_connectivity_wifilogd/commit/?id=fd59221459953a821b9021e00276749ac46ea5ea'/>
<id>fd59221459953a821b9021e00276749ac46ea5ea</id>
<content type='text'>
Improve error handling, when reading from the log socket:
- On transient errors: sleep, to allow the transient condition
  to pass (and to avoid a tight CPU loop, if the condition is
  not so transient).
- On all other errors: abort the daemon. In the case of a
  non-transient error, we have two choices: continue running,
  or abort (and hope the new process comes up in a good state).
  We to abort, for two reasons:
  - we assume that newer logs are more important than older ones
  - even if we kept running, we might not be able to dump the logs
    that we'd captured so far, short of a core dump. (The request
    to dump logs would, itself, need to be read from the log
    socket.)

Bug: 32481888
Test: ./runtests.sh (on angler)
Change-Id: I68619d192f7682436c9f78b062d1b6070cdabcdf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Improve error handling, when reading from the log socket:
- On transient errors: sleep, to allow the transient condition
  to pass (and to avoid a tight CPU loop, if the condition is
  not so transient).
- On all other errors: abort the daemon. In the case of a
  non-transient error, we have two choices: continue running,
  or abort (and hope the new process comes up in a good state).
  We to abort, for two reasons:
  - we assume that newer logs are more important than older ones
  - even if we kept running, we might not be able to dump the logs
    that we'd captured so far, short of a core dump. (The request
    to dump logs would, itself, need to be read from the log
    socket.)

Bug: 32481888
Test: ./runtests.sh (on angler)
Change-Id: I68619d192f7682436c9f78b062d1b6070cdabcdf
</pre>
</div>
</content>
</entry>
<entry>
<title>add MainLoop</title>
<updated>2016-11-15T19:12:35+00:00</updated>
<author>
<name>mukesh agrawal</name>
<email>quiche@google.com</email>
</author>
<published>2016-10-27T21:19:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_connectivity_wifilogd/commit/?id=3b1d20a5720a5fe6b0a1eccd577b0d2447139efc'/>
<id>3b1d20a5720a5fe6b0a1eccd577b0d2447139efc</id>
<content type='text'>
Add the class that will read messages from
our control socket, and pass those messages to
the CommandProcessor. Add unit tests for the
same.

Bug: 32451897
Test: ./runtests.sh (on angler)
Change-Id: Icd9a0e9180a91f97d99d112024664e34fdc2a466
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the class that will read messages from
our control socket, and pass those messages to
the CommandProcessor. Add unit tests for the
same.

Bug: 32451897
Test: ./runtests.sh (on angler)
Change-Id: Icd9a0e9180a91f97d99d112024664e34fdc2a466
</pre>
</div>
</content>
</entry>
</feed>
