Re:Low Latency Optimization: Understanding Pages (Part 1)
by deadcanard on Tuesday November 29, 2022 @11:18AM
(#33789469)
IMO the easiest way (but certainly not the only way) is to allocate a new stack and switch to it with makecontext(). The manpage has a full code example. You just need to change the stack alloc. This approach has a few drawbacks but is hard to beat in terms of simplicity.
[ Parent
| on HN ]
There are no comments on this comment yet.