No, it returns the new value so at least for one threads this will return 1.

But as the comment says it's still missing synchronization, i.e. the other thread would need to wait for the init to finish and attach itself to the runtime.