Mrntt: Re-add exceptionInd

This now ensures that finalizeReq is indeed called from mrntt,
since exception-experiencing threads will post an exceptionInd
to mrntt, which will then call finalizeReq.
This commit is contained in:
2025-11-23 03:27:18 -04:00
parent 3747dee8a7
commit 2c891bd2f3
4 changed files with 47 additions and 6 deletions
+3
View File
@@ -23,9 +23,12 @@ public:
typedef std::function<void(bool)> mrnttLifetimeMgmtOpCbFn;
void initializeReq(Callback<mrnttLifetimeMgmtOpCbFn> callback);
void finalizeReq(Callback<mrnttLifetimeMgmtOpCbFn> callback);
// Intentionally doesn't take a callback.
void exceptionInd();
private:
class MrnttLifetimeMgmtOp;
class TerminationEvent;
};
extern std::atomic<int> exitCode;