Is this safe to call from different threads? Link to docs allowing that?