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

refactor: rename mutex function name #56

Merged
merged 4 commits into from
May 14, 2024
Merged

refactor: rename mutex function name #56

merged 4 commits into from
May 14, 2024

Conversation

irdaislakhuafa
Copy link
Owner

Rename WithMt to WithLocker to generalize locker implementation

Rename WithMt to WithLocker to generalize locker implementation
Changes the WithLocker method to use sync.Locker instead of sync.Mutex.
This allows users to use their own custom Locker implementations, giving them more flexibility and control over locking behavior.
Replaces `[]int` strings with their values in logging.
…utine

This commit introduces a new method to run list functions with goroutine. The list method will be cleared after calling this method.

This change improves the performance and scalability of the concurrency package.
@irdaislakhuafa irdaislakhuafa merged commit 8f5e014 into master May 14, 2024
1 check passed
@irdaislakhuafa irdaislakhuafa deleted the concurrency branch May 14, 2024 11:34
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

1 participant