Appears to be missing asReleaseExclusiveLock() in the case (it == stringCache.end()) line 73.
Maybe I'm misinterpreting how the exclusive lock works, though.
Appears to be missing asReleaseExclusiveLock() in the case (it == stringCache.end()) line 73.
Maybe I'm misinterpreting how the exclusive lock works, though.
I think you misread the code. The function doesn't exit in case (it == stringCache.end()) on line 73. It will just set the variable ret to asERROR, and then proceed on line 82 where it calls asReleaseExclusiveLock() and only after that return from the function.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game