mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 01:37:04 +00:00
[9488] Fixed semaphore locking on non-posix systems
This commit is contained in:
parent
9811c0d0e3
commit
5df9eaff8b
3 changed files with 10 additions and 8 deletions
|
|
@ -129,7 +129,11 @@ int ns1__executeCommand(soap* soap, char* command, char** result)
|
|||
|
||||
// wait for callback to complete command
|
||||
|
||||
connection.pendingCommands.acquire();
|
||||
int acc = connection.pendingCommands.acquire();
|
||||
if(acc)
|
||||
{
|
||||
sLog.outError("MaNGOSsoap: Error while acquiring lock, acc = %i, errno = %u", acc, errno);
|
||||
}
|
||||
|
||||
// alright, command finished
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue