+20
−7
Loading
Rather than unlocking and immediately re-locking inside KineticAllocator_FreeItem, just retain the lock and inform KineticAllocator_FreeItem that it should not re-lock the mutex. This would be better handled by configuring the mutexes as recursive/counting, but as we are discussing changing the threading model soon, it is probably not worth restructuring the mutex initialization at the moment.