[Lldb-commits] [PATCH] D128253: [lldb] [MainLoop] Support "pending callbacks", to be called once
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 21 02:59:23 PDT 2022
mgorny created this revision.
mgorny added reviewers: labath, krytarowski, emaste, jingham.
Herald added a subscriber: arichardson.
Herald added a project: All.
mgorny requested review of this revision.
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 <https://reviews.llvm.org/D127500>.
Sponsored by: The FreeBSD Foundation
https://reviews.llvm.org/D128253
Files:
lldb/include/lldb/Host/MainLoop.h
lldb/include/lldb/Host/MainLoopBase.h
lldb/source/Host/common/MainLoop.cpp
lldb/unittests/Host/MainLoopTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128253.438615.patch
Type: text/x-patch
Size: 4413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220621/40f5005c/attachment-0001.bin>
More information about the lldb-commits
mailing list