I do not understand for what purposes there are assertations like src/base/include/scy/handle.h in method assertThread(). Why we should call some methods only from a parent event loop thread?
I am speaking about something like this:
assert(std::this_thread::get_id() == _tid);
I do not understand for what purposes there are assertations like
src/base/include/scy/handle.h
in methodassertThread()
. Why we should call some methods only from a parent event loop thread? I am speaking about something like this:assert(std::this_thread::get_id() == _tid);