Fix: Java application context: pass application context argument to callbacks
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 May 2021 18:59:49 +0000 (14:59 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 May 2021 20:06:32 +0000 (16:06 -0400)
The callbacks require the complete application context field names to
compare against the tables received from the TLS area.

We also need to free memory allocated by for the context event field and
context name in a destroy callback.

Therefore, allocate a data structure for each application context, and
use that data structure as private data. This allows callback to reach
the context name, and a destroy callback to free the allocated memory.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ia34fe00f5945fb58ef991f9d40dec36ac9ab322c


No differences found
This page took 0.024898 seconds and 4 git commands to generate.