It's not clear if this is absolutely necessary or not, but it probably doesn't hurt. It's not clear if there is a way to read the previous state before running this. Of course this isn't really thread-safe, so use at your own risk.
It's not clear if this is absolutely necessary or not, but it probably doesn't hurt. It's not clear if there is a way to read the previous state before running this. Of course this isn't really thread-safe, so use at your own risk.