|
Entropic 2.3.8
Local-first agentic inference engine
|
Thread-safe hook registration and dispatch. More...
#include <entropic/types/hooks.h>#include <entropic/types/error.h>#include <array>#include <shared_mutex>#include <vector>

Go to the source code of this file.
Classes | |
| struct | entropic::HookEntry |
| A single registered hook entry. More... | |
| class | entropic::HookRegistry |
| Thread-safe hook registration and dispatch. More... | |
Namespaces | |
| namespace | entropic |
| Activate model on GPU (WARM → ACTIVE). | |
Thread-safe hook registration and dispatch.
HookRegistry manages per-hook-point callback lists with priority ordering. Registration/deregistration take write locks. Dispatch takes a read lock and copies entries to a snapshot, so callbacks can safely register/deregister other hooks without deadlock.
Lives in librentropic-core.so. Not exposed across .so boundaries — the C API in entropic.h is the only external interface.
Definition in file hook_registry.h.