Depends on the definition of "thread safe". It won't break, but it won't increment and return the value atomically. It could be made to have the same semantics as before, but that would require synchronization which could introduce a performance regression for existing users of the library.