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
Formatting for class shared_timed_mutex is not compatible with others.
In addition, at lock() function line, there is a comment, “//blocking”, but in the similar class, timed_mutex, there’s no comment for lock() function. They should be uniformed.
Proposed change:
Remove a blank line under “namespace std{“.
Indent whole class definition by 2 columns.
Remove the comment at lock() and lock_shared().
(or add the same comment at timed_mutex::lock() )