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

20 lines
261 B
C++

#include "librf/librf.h"
namespace librf
{
LIBRF_API task_t::task_t() noexcept
: _stop(nostopstate)
{
}
LIBRF_API task_t::~task_t()
{
}
LIBRF_API const stop_source & task_t::get_stop_source()
{
_stop.make_sure_possible();
return _stop;
}
}