Skip to content

Commit

Permalink
fix memory alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
alphadose committed Sep 12, 2022
1 parent 88175d8 commit a6352fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zenq.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ const (
type (
// a single slot in the queue
slot[T any] struct {
atomic.Uint32
writeParker *ThreadParker[T]
item T
atomic.Uint32
item T
}

// metadata of the queue
Expand Down

0 comments on commit a6352fb

Please sign in to comment.