am 40c2b7cb: Merge "Add missing lock in SocketListener." into gingerbread
Merge commit '40c2b7cbedff612ce8bc7a51589a952cc1d047b6' into gingerbread-plus-aosp * commit '40c2b7cbedff612ce8bc7a51589a952cc1d047b6': Add missing lock in SocketListener.
This commit is contained in:
commit
0e6242f7e2
1 changed files with 1 additions and 0 deletions
|
|
@ -198,6 +198,7 @@ void SocketListener::runListener() {
|
|||
pthread_mutex_unlock(&mClientsLock);
|
||||
}
|
||||
FD_CLR(fd, &read_fds);
|
||||
pthread_mutex_lock(&mClientsLock);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue