Hi,
I\'m after any recommendations as to how I should do lightweight threading (i.e. \'tasks\' - callback functions - all in a single thread/process).
My basic problem is a lack of understanding of how I can create and receive events (like a keypress, a timer expiry, or even a fake event to allow a large task to start running again).
My plan is to have a single input event (keypress/pointer) task/function, a timer driven UDP output task, a timer driven UDP input task, and a continuously running (when the other tasks aren\'t - lower priority) calculation task. This is for an autopilot programme BTW.
I\'ve done all of this stuff on the Psion, but have no idea as to how events work in Linux.
Anyone have any ideas as to where I should look.
Thanks,
Si