Preferences

shared memory provides the lowest latency, but you still need to deal with task wakeup, which is usually done via futexs. Google was working on a FUTEX_SWAP call for linux which would have allowed direct handover from one task to another, not sure what happened to that.

Galanwe
If you really want low latency, then you should be OK to trade power/CPU for it, and you can just spin instead of being woken up.

This item has no comments currently.