add destroy gracefully for kill 15

This commit is contained in:
zhjc1124
2023-06-02 14:11:55 +00:00
committed by ob-robot
parent 3571680ad0
commit 7d8e7728bf
12 changed files with 143 additions and 12 deletions

View File

@ -49,6 +49,8 @@ public:
virtual ~ObTaskController();
int init();
void stop();
void wait();
void destroy();
void switch_task(ObTaskType task_id);
void allow_next_syslog(int64_t count=1);