Merge "Add missing lock in SocketListener." into gingerbread

This commit is contained in:
Brad Fitzpatrick 2010-09-14 10:44:15 -07:00 committed by Android (Google) Code Review
commit 40c2b7cbed

View file

@ -198,6 +198,7 @@ void SocketListener::runListener() {
pthread_mutex_unlock(&mClientsLock);
}
FD_CLR(fd, &read_fds);
pthread_mutex_lock(&mClientsLock);
continue;
}
}