Simplify Parallel Code by Encapsulating Locks | Hacker News Reader