Skip to content

Conversation

@mikesmitty
Copy link
Contributor

I saw these were recently added to sync.Mutex, figured they should probably be on RWMutex too. Implementations sourced from big go with the race detection removed

@mikesmitty mikesmitty force-pushed the ms/add-trylock-methods branch from 654fb49 to 3173658 Compare August 10, 2025 15:12
Copy link
Member

@deadprogram deadprogram left a comment

Choose a reason for hiding this comment

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

Looks good to me. @aykevl or anyone else have any comment before merge?

@deadprogram
Copy link
Member

@mikesmitty sorry about the late comment here, but perhaps you can add this to the tests for this? What do you think?

@mikesmitty
Copy link
Contributor Author

Oh yeah, sure thing

@mikesmitty mikesmitty force-pushed the ms/add-trylock-methods branch from 3173658 to 0ed7e37 Compare September 12, 2025 21:11
@deadprogram
Copy link
Member

Thanks for the addition here @mikesmitty now merging.

@deadprogram deadprogram merged commit 3ddba4e into tinygo-org:dev Sep 13, 2025
25 of 26 checks passed
@mikesmitty mikesmitty deleted the ms/add-trylock-methods branch September 13, 2025 15:07
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.

2 participants