1
This commit is contained in:
parent
5ab7da1b3e
commit
cd6c3de96c
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
#include <a8/a8.h>
|
#include <a8/a8.h>
|
||||||
#include <a8/uuid.h>
|
#include <a8/uuid.h>
|
||||||
|
#include <a8/perfmonitor.h>
|
||||||
|
|
||||||
#include <f8/f8.h>
|
#include <f8/f8.h>
|
||||||
#include <f8/udplog.h>
|
#include <f8/udplog.h>
|
||||||
@ -48,6 +49,7 @@ namespace f8
|
|||||||
loop_cond_ = new std::condition_variable();
|
loop_cond_ = new std::condition_variable();
|
||||||
|
|
||||||
uuid_->SetMachineId((node_id_ - 1) * MAX_NODE_ID + instance_id_);
|
uuid_->SetMachineId((node_id_ - 1) * MAX_NODE_ID + instance_id_);
|
||||||
|
a8::PerfMonitor::Instance()->Init();
|
||||||
InitLog();
|
InitLog();
|
||||||
f8::MsgQueue::Instance()->Init();
|
f8::MsgQueue::Instance()->Init();
|
||||||
f8::Timer::Instance()->Init();
|
f8::Timer::Instance()->Init();
|
||||||
@ -65,6 +67,7 @@ namespace f8
|
|||||||
f8::Timer::Instance()->UnInit();
|
f8::Timer::Instance()->UnInit();
|
||||||
f8::MsgQueue::Instance()->UnInit();
|
f8::MsgQueue::Instance()->UnInit();
|
||||||
UnInitLog();
|
UnInitLog();
|
||||||
|
a8::PerfMonitor::Instance()->Init();
|
||||||
|
|
||||||
delete loop_cond_;
|
delete loop_cond_;
|
||||||
loop_cond_ = nullptr;
|
loop_cond_ = nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user