Home
last modified time | relevance | path

Searched refs:_instance (Results 1 – 12 of 12) sorted by relevance

/f-stack/app/micro_thread/
H A Dmt_session.cpp40 SessionMgr* SessionMgr::_instance = NULL; member in SessionMgr
43 if (NULL == _instance) in Instance()
45 _instance = new SessionMgr; in Instance()
48 return _instance; in Instance()
53 if( _instance != NULL ) in Destroy()
55 delete _instance; in Destroy()
56 _instance = NULL; in Destroy()
H A Dmt_mbuf_pool.cpp31 MsgBuffPool* MsgBuffPool::_instance = NULL; member in MsgBuffPool
34 if (NULL == _instance) in Instance()
36 _instance = new MsgBuffPool; in Instance()
39 return _instance; in Instance()
44 if( _instance != NULL ) in Destroy()
46 delete _instance; in Destroy()
47 _instance = NULL; in Destroy()
H A Dmt_notify.cpp325 NtfyObjMgr* NtfyObjMgr::_instance = NULL; member in NtfyObjMgr
328 if (NULL == _instance) in Instance()
330 _instance = new NtfyObjMgr; in Instance()
333 return _instance; in Instance()
338 if( _instance != NULL ) in Destroy()
340 delete _instance; in Destroy()
341 _instance = NULL; in Destroy()
H A Dmt_connection.cpp690 ConnectionMgr* ConnectionMgr::_instance = NULL; member in ConnectionMgr
693 if (NULL == _instance) in Instance()
695 _instance = new ConnectionMgr(); in Instance()
698 return _instance; in Instance()
703 if( _instance != NULL ) in Destroy()
705 delete _instance; in Destroy()
706 _instance = NULL; in Destroy()
H A Dmicro_thread.cpp291 if (NULL == _instance) in Instance()
296 return _instance; in Instance()
504 MtFrame *MtFrame::_instance = NULL; member in MtFrame
507 if (NULL == _instance ) in Instance()
509 _instance = new MtFrame(); in Instance()
512 return _instance; in Instance()
581 if (NULL == _instance ) in Destroy()
625 _instance->DestroyPool(); in Destroy()
626 _instance->TermKqueue(); in Destroy()
627 delete _instance; in Destroy()
[all …]
H A Dmt_session.h122 static SessionMgr * _instance; variable
H A Dmt_net.cpp1579 CNetMgr* CNetMgr::_instance = NULL; member in CNetMgr
1582 if (NULL == _instance) in Instance()
1584 _instance = new CNetMgr(); in Instance()
1587 return _instance; in Instance()
1592 if( _instance != NULL ) in Destroy()
1594 delete _instance; in Destroy()
1595 _instance = NULL; in Destroy()
H A Dmt_mbuf_pool.h208 static MsgBuffPool * _instance; variable
H A Dmicro_thread.h88 static ScheduleObj* _instance;
401 static MtFrame* _instance;
H A Dmt_connection.h328 static ConnectionMgr * _instance; variable
H A Dmt_notify.h323 static NtfyObjMgr * _instance; variable
H A Dmt_net.h527 static CNetMgr * _instance; variable