Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
4f97db62
Commit
4f97db62
authored
Jan 26, 2013
by
Max-Wilhelm Bruker
Browse files
server deadlock fix #2
parent
8d596619
Changes
1
Hide whitespace changes
Inline
Side-by-side
servatrice/src/serversocketinterface.cpp
View file @
4f97db62
...
@@ -206,7 +206,9 @@ void ServerSocketInterface::flushOutputQueue()
...
@@ -206,7 +206,9 @@ void ServerSocketInterface::flushOutputQueue()
totalBytes
+=
size
+
4
;
totalBytes
+=
size
+
4
;
locker
.
relock
();
locker
.
relock
();
}
}
locker
.
unlock
();
servatrice
->
incTxBytes
(
totalBytes
);
servatrice
->
incTxBytes
(
totalBytes
);
// see above wrt mutex
socket
->
flush
();
socket
->
flush
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment