Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertations of thread ids #276

Open
mr-kakorin opened this issue Aug 27, 2019 · 0 comments
Open

Assertations of thread ids #276

mr-kakorin opened this issue Aug 27, 2019 · 0 comments

Comments

@mr-kakorin
Copy link
Contributor

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant