Hacker News new | ask | show | jobs
by bgongfu 2958 days ago
I was under the impression that Boost Context is more than that; at least that's what the amount of assembler code tells me; but I'll be the first to admit I don't have much patience for deciphering modern C++. I get that it's possible to invoke the same functionality as ucontext minus signal masks manually, but I'm not convinced it would save enough cycles to pay for the added complexity.
1 comments

Saving the signal mask easily cost hundreds to thousand cycles. One or two order of magnitude more than the rest of contex switching.