Hacker News new | ask | show | jobs
by zbuc 5093 days ago
I haven't had a chance to really read it yet but it looks like it describes thread locals well.

That would make it a lot easier to maintain thread state, e.g. an open database connection, without having to use a singleton.