Closed jsdidierlaurent closed 4 years ago
I try a fix in fork. Changing variables order fix this issue ...
type ManyToOne struct {
writeIndex uint64
readIndex uint64
buffer []unsafe.Pointer
alerter Alerter
}```
Note: there is also overflow issue mentionned by #163 in my test logs
Hi!
Diode panic when using zerolog in 32-bit arch.
There is a note in golang docs about Atomic pkg in 32-bit arch: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
I already saw someone fix this kind of issue like this: https://github.com/valyala/fasthttp/pull/451 But it's a bit strange ...