projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved WHOHandler multi thread stability
[NeonServV5.git]
/
src
/
ClientSocket.c
diff --git
a/src/ClientSocket.c
b/src/ClientSocket.c
index 27896187b19385b48d17fbb1af3145c9c828ba54..83a2e281c8bf8bf91a4cdc6edbbd0dfde6223954 100644
(file)
--- a/
src/ClientSocket.c
+++ b/
src/ClientSocket.c
@@
-447,6
+447,7
@@
void socket_loop(int timeout_seconds) {
is_synchronized = 0;
DESYNCHRONIZE(synchronized_recv);
parse_lines(sock, linesbuf, used);
is_synchronized = 0;
DESYNCHRONIZE(synchronized_recv);
parse_lines(sock, linesbuf, used);
+ whohandler_end_of_recv(sock); //WHOHandler hack (unlock WHOQueue mutexes)
#else
int used = parse_lines(sock, sock->buffer, sock->bufferpos);
if(used == sock->bufferpos + 1) {
#else
int used = parse_lines(sock, sock->buffer, sock->bufferpos);
if(used == sock->bufferpos + 1) {