gitea/modules/queue
Gusted b5383590de
Fix 64-bit atomic operations on 32-bit machines (#19531)
- Doing 64-bit atomic operations on 32-bit machines is a bit tricky by
golang, as they can only be done under certain set of
conditions(https://pkg.go.dev/sync/atomic#pkg-note-BUG).
- This PR fixes such case whereby the conditions weren't met, it moves
the int64 to the first field of the struct, which will 64-bit operations
happening on this property on 32-bit machines.
- Resolves #19518
2022-04-27 10:32:04 -05:00
..
bytefifo.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
helper.go
manager.go Add number in queue status to monitor page (#18712) 2022-02-12 13:31:26 +08:00
queue.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
queue_bytefifo.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
queue_channel.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
queue_channel_test.go Prevent intermittent NPE in queue tests (#19301) 2022-04-02 15:59:04 +08:00
queue_disk.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
queue_disk_channel.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
queue_disk_channel_test.go Prevent intermittent NPE in queue tests (#19301) 2022-04-02 15:59:04 +08:00
queue_disk_test.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
queue_redis.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
queue_test.go
queue_wrapped.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
setting.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
unique_queue.go
unique_queue_channel.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
unique_queue_channel_test.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
unique_queue_disk.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
unique_queue_disk_channel.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
unique_queue_redis.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
unique_queue_wrapped.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
workerpool.go Fix 64-bit atomic operations on 32-bit machines (#19531) 2022-04-27 10:32:04 -05:00