Mutex used to serialize accesses to cached vector of pointers to python arrays to be dereferenced.
| 29 | // Mutex used to serialize accesses to cached vector of pointers to python |
| 30 | // arrays to be dereferenced. |
| 31 | static mutex* DelayedDecrefLock() { |
| 32 | static mutex* decref_lock = new mutex; |
| 33 | return decref_lock; |
| 34 | } |
| 35 | |
| 36 | // Caches pointers to numpy arrays which need to be dereferenced. |
| 37 | static std::vector<void*>* DecrefCache() { |
no outgoing calls
no test coverage detected