-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
KERNEL: Simplify the ST-thread as simple object. #906
Comments
The first category of thread, which has its inside loop, like the
Another type of thread, is need to be restart, like the
It's important to check the thread is running then sleep, for example:
|
Please notice the
User should ignore |
Added an SrsCoroutine object and reviewed the usage of ST threads. This time, it should be done correctly. Find time to replace all the threads with this object.
|
Refined. |
To keep object simple and no-reusable, read #786 or #288.
To simplify the thread model, read #902
The text was updated successfully, but these errors were encountered: