Added ITTI timer support for RTAI builds (timers must only be used from non RT tasks).

Blocked message sending to ended tasks.
Modified lte-softmodem to use ITTI signal handling.
Uniformized lte-softmodem and oaisim with ITTI handling.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4607 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
winckel
2013-12-05 13:03:18 +00:00
parent 4150c634cf
commit ae4b36507f
9 changed files with 145 additions and 77 deletions
+4
View File
@@ -31,6 +31,8 @@
#ifndef TIMER_H_
#define TIMER_H_
#include <signal.h>
#define SIGTIMER SIGRTMIN
typedef enum timer_type_s {
@@ -39,6 +41,8 @@ typedef enum timer_type_s {
TIMER_TYPE_MAX,
} timer_type_t;
int timer_handle_signal(siginfo_t *info);
/** \brief Request a new timer
* \param interval_sec timer interval in seconds
* \param interval_us timer interval in micro seconds