Pre-cog source doubt

I was looking at the source of pre-cog and there is this piece of code
which i am not able to locate ( pmt_mgr() ) in the documentation.

self.mgr = pmt.pmt_mgr()
for i in range(64):
self.mgr.set(pmt.pmt_make_blob(10000))
blob = self.mgr.acquire(True )

There is no reference of pmt_mgr in documentation. Can somebody
expalain its operation or point to relevant docs.

Thanks

Okay I found in older grextras (
https://github.com/ncorgan/grextras/blob/master/include/gruel/pmt_mgr.h)

/*
*

  •  Manage a collection of PMTs -> memory wise
    
  • When a PMT reference count becomes zero, the pmt and contents is
    deleted.
  • With a manager, the PMT will not be deleted, but released to the
    manager.
  • Then, the PMT can be acquired again for re-use by the user.
  • This offers 2 benefits:
    • Avoids expensive memory allocation overhead (re-use is key)
    • An upstream producer can block until resources become released

*/