Skip to content

Commit

Permalink
Add missing lock in SocketListener.
Browse files Browse the repository at this point in the history
Change-Id: I3d97a06381fce67ef13b1ccdeaa4e8e2830ab2aa
  • Loading branch information
bradfitz committed Sep 14, 2010
1 parent 09dd3e5 commit 86d01de
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 86d01de

Please sign in to comment.