ldas-tools-ldasgen 2.7.3
Private Member Functions | List of all members
anonymous_namespace{StatVFS.cc}::StatVFSTrashPool Class Reference

Collection of statvfs buffers that have timed out. More...

Inheritance diagram for anonymous_namespace{StatVFS.cc}::StatVFSTrashPool:
Inheritance graph
[legend]
Collaboration diagram for anonymous_namespace{StatVFS.cc}::StatVFSTrashPool:
Collaboration graph
[legend]

Private Member Functions

 SINGLETON_TS_DECL (StatVFSTrashPool)
 

Detailed Description

Collection of statvfs buffers that have timed out.

This is only a stop gap solution to prevent the memory resource from being recycled while being used by another thread.

Todo:
Instead of collecting these buffers in a pool where they will be leaking memory, the thread needs to take ownership of the object and destroy it once the thread completes.

Member Function Documentation

◆ SINGLETON_TS_DECL()

anonymous_namespace{StatVFS.cc}::StatVFSTrashPool::SINGLETON_TS_DECL ( StatVFSTrashPool  )
private

The documentation for this class was generated from the following file: