-
Notifications
You must be signed in to change notification settings - Fork 227
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
mtx_lock() occurs in two times #1
Comments
jolivepetrus
added a commit
that referenced
this issue
Nov 16, 2016
This is correct, it's mandatory for Lua RTOS pthread management. After the creation of the new task related to new thread we need to wait for the initialization of critical information that is provided by new thread:
This is done by pthreadTask function, who releases the lock when this information is set. We have document this in our last commit fb44da2 |
Let me to close this issue. No feedback were provided. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mtx_lock() function occurs in two times in pthread_create(). So it should be?
The text was updated successfully, but these errors were encountered: