diff options
author | David 'Digit' Turner <digit@google.com> | 2011-01-17 03:10:31 +0100 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@android.com> | 2011-03-22 14:02:51 -0700 |
commit | 100c0e2dab243da3a5351f1acbcdc560af10a405 (patch) | |
tree | 7f9216684865fd977e6ee3df90ff742598657734 /include | |
parent | 01feae2d7cbd607970c8008055094a6259658939 (diff) | |
download | system_core-100c0e2dab243da3a5351f1acbcdc560af10a405.zip system_core-100c0e2dab243da3a5351f1acbcdc560af10a405.tar.gz system_core-100c0e2dab243da3a5351f1acbcdc560af10a405.tar.bz2 |
libsysutils: Fix race condition in SocketListener thread.
+ Handle EINTR in accept(), write() and select()
+ Fix a memory leak when deleting the mClients list
+ Fix typo in SocketListener.h
Change-Id: Ie68bb3e2dbefe0dfdaa22a5cd06a42dbc4c0f8aa
Diffstat (limited to 'include')
-rw-r--r-- | include/sysutils/SocketListener.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysutils/SocketListener.h b/include/sysutils/SocketListener.h index c7edfeb..6592b01 100644 --- a/include/sysutils/SocketListener.h +++ b/include/sysutils/SocketListener.h @@ -30,7 +30,7 @@ class SocketListener { pthread_t mThread; public: - SocketListener(const char *socketNames, bool listen); + SocketListener(const char *socketName, bool listen); SocketListener(int socketFd, bool listen); virtual ~SocketListener(); |