Add missing lock in SocketListener.

Change-Id: I3d97a06381fce67ef13b1ccdeaa4e8e2830ab2aa
This commit is contained in:
Brad Fitzpatrick 2010-09-14 10:22:14 -07:00
parent 09dd3e57b9
commit 86d01dec4b

View file

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