Appears to be missing asReleaseExclusiveLock() in the case (it == stringCache.end()) line 73.
Maybe I'm misinterpreting how the exclusive lock works, though.
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
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.