TResourcePool

A templated pool for resources that can only be freed at a 'safe' point in the frame.