This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [MainLoop] Support "pending callbacks", to be called once
ClosedPublic

Authored by mgorny on Jun 21 2022, 2:59 AM.

Details

Summary

Support adding a "pending callback" to the main loop, that will be
called once after all the pending events are processed. This can be
e.g. to defer destroying the process instance until its exit is fully
processed, as suggested in D127500.

Sponsored by: The FreeBSD Foundation

Diff Detail

Event Timeline

mgorny created this revision.Jun 21 2022, 2:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2022, 2:59 AM
Herald added a subscriber: arichardson. · View Herald Transcript
labath accepted this revision.Jun 21 2022, 8:20 AM
This revision is now accepted and ready to land.Jun 21 2022, 8:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2022, 10:47 AM