Skip to content

Commit

Permalink
Merge "Add missing lock in SocketListener." into gingerbread
Browse files Browse the repository at this point in the history
  • Loading branch information
bradfitz authored and Android (Google) Code Review committed Sep 14, 2010
2 parents f31d2ed + 86d01de commit 40c2b7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libsysutils/src/SocketListener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ void SocketListener::runListener() {
pthread_mutex_unlock(&mClientsLock);
}
FD_CLR(fd, &read_fds);
pthread_mutex_lock(&mClientsLock);
continue;
}
}
Expand Down

0 comments on commit 40c2b7c

Please sign in to comment.