commit | 40c2b7cbedff612ce8bc7a51589a952cc1d047b6 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Tue Sep 14 10:44:15 2010 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Sep 14 10:44:15 2010 -0700 |
tree | 6ce1dc9b3449a882adc0cf42c9b8e35aab8abd2c | |
parent | f31d2ed1fd3a39a92bccc12eb66728594290ef3b [diff] | |
parent | 86d01dec4b8690d94053fbe86d46c9ae26de9ae6 [diff] |
Merge "Add missing lock in SocketListener." into gingerbread
diff --git a/libsysutils/src/SocketListener.cpp b/libsysutils/src/SocketListener.cpp index 7af221f..1bc06db 100644 --- a/libsysutils/src/SocketListener.cpp +++ b/libsysutils/src/SocketListener.cpp
@@ -198,6 +198,7 @@ pthread_mutex_unlock(&mClientsLock); } FD_CLR(fd, &read_fds); + pthread_mutex_lock(&mClientsLock); continue; } }