I'm using the below code to get unique IDs within process:
for i := 0; i < 10; i++ {
go func() {
for {
atomic.AddUint32(&counter, 1)
time.Sleep(time.Millisecond)
}
}()
}
What will happen if the counter value overflows uint32's limit?