Reimplement itti_wait_tasks_end() to allow custom wait handlers
In the UE, we wish to handle ^C in the UE to send a message before terminating, so we allow custom wait handlers to implement such functionality. Use itti_wait_tasks_unblock() to unblock itti_wait_tasks_end(). Also, implement itti_wait_tasks_end() using semaphores, as signals are not async-signal-safe (and therefore should not be used in a signal handler).
parent
4700dde2
No related branches found
No related tags found
Showing
- common/utils/ocp_itti/intertask_interface.cpp 18 additions, 9 deletionscommon/utils/ocp_itti/intertask_interface.cpp
- common/utils/ocp_itti/intertask_interface.h 6 additions, 3 deletionscommon/utils/ocp_itti/intertask_interface.h
- executables/lte-softmodem.c 1 addition, 1 deletionexecutables/lte-softmodem.c
- executables/lte-uesoftmodem.c 1 addition, 1 deletionexecutables/lte-uesoftmodem.c
- executables/nr-cuup.c 1 addition, 1 deletionexecutables/nr-cuup.c
- executables/nr-softmodem.c 1 addition, 1 deletionexecutables/nr-softmodem.c
- executables/nr-uesoftmodem.c 1 addition, 1 deletionexecutables/nr-uesoftmodem.c
Loading
Please register or sign in to comment