aerc/worker/types
Tim Culverhouse 7473571159 worker: prevent deadlock by flooding worker.Messages channel
Send to worker.Messages in goroutine to prevent deadlocks: the UI can
fill the worker.Actions channel. The worker can generate more than one
Message per action, and if it generates enough to fill the
worker.Messages channel from a single message while the worker.Actions
channel is full, a deadlock occurs.

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-09-20 00:03:36 +02:00
..
messages.go worker: introduce MoveMessages type 2022-08-22 15:46:51 +02:00
sort.go Add sorting functionality 2019-09-20 14:56:02 -04:00
thread.go mark: (un)mark message threads 2022-08-22 09:30:37 +02:00
thread_test.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
worker.go worker: prevent deadlock by flooding worker.Messages channel 2022-09-20 00:03:36 +02:00