You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the enclaves2 branch I have added a macro called LF_ASSERT which you can pass a condition and it will invoke print and terminate if it is false. So we can do LF_ASSERT(lf_mutex_lock(env->mutex) == 0, "Failed to lock mutex"));. The assertions are disabled if LF_NOASSERT is defined.
We have to go through our code base and make sure to always check the return values from the platform API.
should be
The text was updated successfully, but these errors were encountered: