ferdynton / ferdynton/unique_thread

Add a way to exit the thread

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement to do
Dominant language
Ruby
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

On a previously reported issue it was mentioned that there's no way to exit a `UniqueThread`. If an error occurs, the thread dies but it keeps the lock.

We should have some sort of `UniqueThread::ExitError` that a user can throw to terminate the thread AND liberate the lock.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.