On Tue, 12 Dec 2023 06:25:12 +0200
Artemy Kovalyov wrote:
> +rte_atomic32_t g_count;
> +
> +static int
> +done(const struct rte_mp_msg *msg __rte_unused, const void *arg __rte_unused)
> +{
> + rte_atomic32_dec(&g_count);
> + return 0;
> +}
Local variable, should be static.
Also, assert
This commit adds a test scenario that initiates multiple processes
concurrently. These processes attach to the same shared heap, with an
automatic detection mechanism to identify the primary process.
Signed-off-by: Artemy Kovalyov
---
app/meson.build | 1 +
app/test-mp/main.c | 49
2 matches
Mail list logo