code cleanup

fix no dga on linux

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3720 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2011-01-27 01:34:08 +00:00
parent 227bc47130
commit f21c352fb4
4 changed files with 7 additions and 39 deletions

View file

@ -166,7 +166,7 @@ int sql_serverworker(void *sref)
{
Sys_LockConditional(server->requestcondv);
if (!server->requests) // this is needed for thread startup and to catch any "lost" changes
Sys_ConditionWait(server->requestcondv);
Sys_ConditionWait(server->requestcondv);
needlock = false; // so we don't try to relock first round
while (1)