# C, C++ and background lifecycle

These small plugins demonstrate the versioned entry point, allocator ownership,
callback exception boundary and cancellable worker jobs.

## Build

Set `EPICTUNER_SDK_ROOT` and use `cmake --preset sdk` followed by
`cmake --build --preset sdk` in this directory. The build produces C and C++
libraries plus development manifests.

```sh
epictuner-plugin-check --development --manifest out/plugin.json
epictuner-plugin-check --development --manifest out/plugin-c.json
epictuner-plugin-check --development --manifest out/plugin-background.json --expect-log "background sum=55"
```

Windows executable names end in `.exe`. A successful checker run covers startup,
ordered event delivery, heartbeat and stop. The background example computes a
synthetic sum and returns it through the dispatcher. These are nonvisual ABI
examples, additional to the eight gallery examples.

See [lifecycle.cpp](lifecycle.cpp), [lifecycle.c](lifecycle.c) and
[background.cpp](background.cpp). Run the exported conformance tests to check C
and C++ shared-module negotiation, including incompatible-version rejection.
