ud3tn/test
Felix Walter 1237eaa2db Remove heap-allocated Task_t
`hal_task_create` returned a reference to the new task allocated on the
heap via `malloc`. We commonly used the pattern to `free` this reference
from the new thread which, however, could result in race conditions and
other synchronization issues. We added a fix using a semaphore in the
application agent, but this would have been needed in other places (CLA,
...) as well. As we do not make use of the task reference anywhere
besides in the CLA for error handling, we can remove the heap-allocated
value altogether and replace it with an `enum ud3tn_result` to simplify
things and circumvent the named synchronization issues.

In the case of the CLA function `cla_link_init`, logic is introduced to
request the RX task to exit immediately in case the TX task cannot be
launched.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-05-10 17:23:55 +02:00
..
functional/bibe_internal_forwarding_test aap_receive, tests: Print a line feed after every received bundle 2023-05-10 14:37:11 +02:00
integration test/integration: Fix indeterministic failure in bundle age int. test 2023-05-10 17:23:27 +02:00
ion_interoperability aap_receive, tests: Print a line feed after every received bundle 2023-05-10 14:37:11 +02:00
unit Remove heap-allocated Task_t 2023-05-10 17:23:55 +02:00
ud3tn_stress_test.sh CI: Remove stdbuf statements from tests 2023-05-10 14:37:11 +02:00