1
0
mirror of https://github.com/tearshark/librf.git synced 2024-10-01 15:57:07 +08:00
librf/source/rf_task.cpp

20 lines
261 B
C++
Raw Normal View History

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