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
Ensure mutex is created successfully, or else return an error
Check if the mutex (which ensures thread safety) was created
successfully, and return an error if it wasn't. Moved this check to the
top of the <<>> function, so that it doesn't need to clean up allocated
memory.
Since successfully creating the mutex is now a precondition for creating
the list, we can safely remove the NULL checks when using the mutex.
0 commit comments