Hacker News new | ask | show | jobs
by stouset 317 days ago
You can also just drop it by scoping the mutex guard to the critical area using a block, since it’ll be dropped when it goes out of scope.