15#include <AUI/Common/AObject.h>
16#include <AUI/Common/AQueue.h>
24 friend void afterEntryCleanup();
26 using Callback = std::function<void()>;
32 std::unique_lock lock(inst().mSync);
33 inst().mCallbacks << std::move(callback);
39 void afterEntryPerform();
Cleanup helper.
Definition: ACleanup.h:23
static void afterEntry(Callback callback)
Definition: ACleanup.h:31
A std::queue with AUI extensions.
Definition: AQueue.h:24
Basic syscall-based synchronization primitive.
Definition: AMutex.h:33