#include <nonBlockDelete.h>
Classes | |
class | Queue |
struct | Runner |
Static Public Member Functions | |
template<class T > | |
static void | planDelete (T *ptr) |
別スレッドに消去を依頼する More... | |
template<class T > | |
static void | reset (boost::shared_ptr< T > &ptr) |
make ptr empty immediately More... | |
static void | resetAny (boost::shared_ptr< void > &) |
static void | deleteAll () |
空になるまで待つまたは自分で消去する More... | |
static bool | deleteOne () |
static int | waiting () |
Private Member Functions | |
NonBlockDelete () | |
~NonBlockDelete () | |
void | push_back (boost::shared_ptr< void > &) |
Static Private Member Functions | |
static NonBlockDelete & | instance () |
Private Attributes | |
boost::shared_ptr< Queue > | queue |
Friends | |
struct | Runner |
Definition at line 17 of file nonBlockDelete.h.
|
private |
Definition at line 50 of file nonBlockDelete.cc.
|
private |
Definition at line 57 of file nonBlockDelete.cc.
References finish.
|
static |
|
static |
Definition at line 103 of file nonBlockDelete.cc.
References queue.
|
staticprivate |
Definition at line 43 of file nonBlockDelete.cc.
|
inlinestatic |
|
private |
Definition at line 81 of file nonBlockDelete.cc.
References finish.
|
inlinestatic |
|
static |
Definition at line 72 of file nonBlockDelete.cc.
References finish, and osl::OslConfig::memoryUseRatio().
Referenced by planDelete(), and reset().
|
static |
Definition at line 66 of file nonBlockDelete.cc.
References queue.
|
friend |
Definition at line 61 of file nonBlockDelete.h.
Referenced by NonBlockDelete().
|
private |
Definition at line 58 of file nonBlockDelete.h.
Referenced by deleteAll(), deleteOne(), NonBlockDelete(), and waiting().