How to check if a timeout is detach?
Timeout t;
if (t.remaining_time()>(0ms))
{
t.detach();
}
How to check if a timeout is detach?
Timeout t;
if (t.remaining_time()>(0ms))
{
t.detach();
}
Hello,
I don’t know what is this can be good for, but you can use your own bool flag or wrap Timeout class and implemnet a bool detached()
function what will return info that cb (Callback object cb) is null or not.
Br, Jan