Sun Jan 19 11:05:41 CET 2020
- Try to put everything inside the task struct.
- Store channel data only once?
Let's look at the event. How to turn it more into a synchronized
function call? Sender provides a callback.
In the cold list there is only ever one pointer to a particular tasks'
EDIT: The interesting relation is that a task's event is pointed to
only by the channel, but a single channel can point to more than one
One thing though: a channel can never have readers and writers at the
same time, so a single list would suffice.