vcpe/srcs/libs/include/task_manager.h

23 lines
411 B
C
Raw Normal View History

2022-05-10 06:43:27 +00:00
//
// Created by xajhu on 2021/7/1 0001.
//
#ifndef DAEMON_AGENT_TASK_TASK_MANAGER_H
#define DAEMON_AGENT_TASK_TASK_MANAGER_H
#ifdef __cplusplus
extern "C" {
#endif
#include <uv.h>
#define LIBUV_CURRENT_TIME_S() (uv_hrtime() / 1000000000)
void task_manager_run();
uv_loop_t *get_task_manager(void);
void task_manager_exit();
#ifdef __cplusplus
}
#endif
#endif//DAEMON_AGENT_TASK_TASK_MANAGER_H