0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 19:28:52 +02:00

ircd::ctx: Optimize with no_stack_unwind attribute since it's done by us.

This commit is contained in:
Jason Volk 2019-04-05 15:56:05 -07:00
parent c3480f9f79
commit 3a68b65fe8

View file

@ -62,8 +62,11 @@ ircd::ctx::spawn(ctx *const c,
{
const boost::coroutines::attributes attrs
{
// Pass the requested stack size
c->stack.max,
boost::coroutines::stack_unwind
// We ensure stack unwinding and cleanup out here instead.
boost::coroutines::no_stack_unwind,
};
auto bound