Hacker News new | ask | show | jobs
by omegalulw 1790 days ago
Pretty cool. Question, your lock reset resets the lock state without regard to of the lock is held on not, isn't it better to acquire before reset?
1 comments

Thanks. Yeah that would be better and bring a little more consistency, but since js is single-threaded it doesn't cause big issues.