Is the != check thread safe? Is the != check thread safe? multithreading multithreading