logoalt Hacker News

adastra22today at 2:47 AM0 repliesview on HN

You wrap it in a mutex and then it is allowed.

Global state is allowed. It just has to be thread safe.