23 AuxTaskNonRT(std::string _name, std::function<
void()> callback){ create(_name, callback); }
24 AuxTaskNonRT(std::string _name, std::function<
void(std::string str)> callback){ create(_name, callback); }
25 AuxTaskNonRT(std::string _name, std::function<
void(
void* buf,
int size)> callback){ create(_name, callback); }
26 ~AuxTaskNonRT(){ cleanup(); }
28 void create(std::string _name, std::function<
void()> callback);
29 void create(std::string _name, std::function<
void(std::string str)> callback);
30 void create(std::string _name, std::function<
void(
void* buf,
int size)> callback);
32 int schedule(
const void* ptr,
size_t size);
33 int schedule(
const char* str);
37 bool lShouldStop =
false;
41#ifdef XENOMAI_SKIN_native
45#ifdef XENOMAI_SKIN_posix
57 std::function<void()> empty_callback;
58 std::function<void(std::string str)> str_callback;
59 std::function<void(
void* buf,
int size)> buf_callback;
65 static void thread_func(
void* ptr);