Skip to content

Conversation

@cdecker
Copy link
Member

@cdecker cdecker commented Aug 14, 2024

This is built on top of #7556 and just moves the suspend / resume calls to the where we yield control to the io_loop and when we come back through a callback call.

JssDWt and others added 3 commits August 15, 2024 13:28
The `send_outreq` function is a good place to suspend and resume
traces, since these are usually the places where we hand off control
back to the `io_loop`. This assumes that we do not continue doing
heavy liftin after we have queued an `outreq` call, but that is most
likely the case anyway. This frees us from having to track suspensions
whenever we call the RPC from a plugin.
Having it in the header means we may end up including it multiple
times, so move them into the compilation unit, where it'll only be
compiled once, and therefore the linker does not get confused as much.
@cdecker cdecker marked this pull request as ready for review August 15, 2024 11:28
@cdecker cdecker added this to the v24.11 milestone Aug 15, 2024
@rustyrussell rustyrussell mentioned this pull request Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants