Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Conversation

@piotrm50
Copy link
Contributor

Description of change

FakeRWMutex is used as a drop-in replacement for a regular mutex through the use of a fakemutex buildtag. Alternatively deadlock tag can be used to use a deadlock detection mutex. If neither tag is specified, a real sync.Mutex or sync.RWMutex is used.

Type of change

Choose a type of change, and delete any options that are not relevant.

  • Enhancement (a non-breaking change which adds functionality)

How the change has been tested

Describe the tests that you ran to verify your changes.

Make sure to provide instructions for the maintainer as well as any relevant configurations.

Change checklist

Add an x to the boxes that are relevant to your changes, and delete any items that are not.

  • My code follows the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants