Merge "logd: improve logd prune" am: c02d05dc1c
am: 3a9935ee02
Change-Id: I0560401d07a62944acc751ac39f21d8c2e60b1a2
This commit is contained in:
commit
08589ae8c2
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue