1
0
镜像自地址 https://github.com/tearshark/librf.git 已同步 2024-10-04 08:50:31 +08:00
librf/source/rf_task.cpp

20 行
231 B
C++

2021-11-01 17:59:08 +08:00
#include "librf/librf.h"
namespace librf
{
task_t::task_t() noexcept
: _stop(nostopstate)
{
}
task_t::~task_t()
{
}
const stop_source & task_t::get_stop_source()
{
_stop.make_sure_possible();
return _stop;
}
}