Skip to content
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

Null mutex clarity (via comments / log statement) #860

Merged
merged 3 commits into from
Nov 19, 2019

Conversation

notlesh
Copy link
Contributor

@notlesh notlesh commented Oct 11, 2019

Leaving some additional breadcrumbs for anyone who stumbles across NullMutex might help it achieve its purpose.

@@ -31,9 +31,16 @@ namespace llarp
namespace util
{
/// a mutex that does nothing
///
/// this exists to convert "old" mutexes that may no longer be necessary
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I would note that previously they were real mutexes too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added even more comments in a3c48e2

@majestrate
Copy link
Contributor

make format

@notlesh notlesh merged commit 9eed243 into oxen-io:dev Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants