threadshare: Fix shutdown race condition
We might've already handled the shutdown unparking while doing the previous turn(s), so we have to check the atomic bool afterwards again and before waiting (potentially) forever.
Fixes #75 (closed)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
We might've already handled the shutdown unparking while doing the previous turn(s), so we have to check the atomic bool afterwards again and before waiting (potentially) forever.
Fixes #75 (closed)