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

请问bthread的栈中task_runner函数的作用是啥? #5

Open
deardeng opened this issue May 29, 2020 · 0 comments
Open

请问bthread的栈中task_runner函数的作用是啥? #5

deardeng opened this issue May 29, 2020 · 0 comments

Comments

@deardeng
Copy link

请问bthread的栈中task_runner函数的作用是啥?
ContextualStack* stk = get_stack(next_meta->stack_type(), task_runner);

还有「如果没有bthread可用则下一个被执行的就是pthread的“调度bthread”」这个从代码中怎么看到,求解答

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