Merge "logd: improve logd prune" am: c02d05dc1c am: 3a9935ee02

am: 08589ae8c2

Change-Id: I587cd7f6b016560ed1ae139ba7efceea9239987a
This commit is contained in:
Tom Cherry 2018-12-21 08:39:59 -08:00 committed by android-build-merger
commit 2f392da109

View file

@ -18,6 +18,7 @@
#define _LOGD_LOG_TIMES_H__
#include <pthread.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <time.h>
@ -82,6 +83,8 @@ class LogTimeEntry {
void cleanSkip_Locked(void);
void release_Locked(void) {
// gracefully shut down the socket.
shutdown(mClient->getSocket(), SHUT_RDWR);
mRelease = true;
pthread_cond_signal(&threadTriggeredCondition);
}