I just impleneted and made working Quadtree for Creatures ( and GameEntity ) for culling.
Now it gets segfaults because it needs semaphores.
There are various ways I could go from there, first is :
How large or small are update of Creatures when walking when doing setPosition ?
Should we go for separate thread which would queue positions updates and then reread them and apply them to QUadtree ( as with the case of RenderManager) ?
Do we want to have some collision detection with it ?
Also how to compose it in with the coming Event System Manager ? Or maybe when there is Event regarding some area we wanna just cut out Entries from QUadtree put it into some container and then futher process it ?
Also some better memory allocation model would be better when dealing with QUadtrees.