mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 22:41:12 +01:00
ircd::ctx: Optimize with no_stack_unwind attribute since it's done by us.
This commit is contained in:
parent
c3480f9f79
commit
3a68b65fe8
1 changed files with 4 additions and 1 deletions
|
@ -62,8 +62,11 @@ ircd::ctx::spawn(ctx *const c,
|
||||||
{
|
{
|
||||||
const boost::coroutines::attributes attrs
|
const boost::coroutines::attributes attrs
|
||||||
{
|
{
|
||||||
|
// Pass the requested stack size
|
||||||
c->stack.max,
|
c->stack.max,
|
||||||
boost::coroutines::stack_unwind
|
|
||||||
|
// We ensure stack unwinding and cleanup out here instead.
|
||||||
|
boost::coroutines::no_stack_unwind,
|
||||||
};
|
};
|
||||||
|
|
||||||
auto bound
|
auto bound
|
||||||
|
|
Loading…
Reference in a new issue