Add support for atomic int and mutex on Apple systems
So, apparently there's no atomic int 'get' method on Apple. You have to add(0) to get. And that's not const-friendly. So switch inert-object checking to a non-atomic get. This, however, is safe, and a negligible performance boost too.
Showing
想要评论请 注册 或 登录