Skip to content
Snippets Groups Projects
Commit a432feda authored by Thomas Laurent's avatar Thomas Laurent
Browse files

add external visibility for itti_create_queue

parent 42a11033
No related branches found
No related tags found
8 merge requests!1757Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c,!1493fix DL arq errors in UE,!1093Issue in generating NR PRACH for High Speed case,!1074PBCH test case support for non-zero bchpyload,!1038Develop to nfapi_nr_develop,!1035Integration 2021 wk04 b,!1026Integration 2021 wk04,!1006WIP: Itti enhancement
......@@ -336,7 +336,7 @@ extern "C" {
usleep(100*1000); // Allow the tasks to receive the message before going returning to main thread
}
void itti_create_queue(const task_info_t *task_info) {
int itti_create_queue(const task_info_t *task_info) {
pthread_mutex_lock (&lock_nb_queues);
int newQueue=nb_queues;
nb_queues++;
......@@ -351,6 +351,7 @@ extern "C" {
if (tasks[newQueue].admin.threadFunc != NULL)
itti_create_task((task_id_t)newQueue, tasks[newQueue].admin.threadFunc, NULL);
return newQueue;
}
int itti_init(task_id_t task_max,
......
......@@ -501,6 +501,8 @@ int itti_create_task(task_id_t task_id,
void *(*start_routine) (void *),
void *args_p);
int itti_create_queue(const task_info_t *task_info);
/** \brief Exit the current task.
**/
void itti_exit_task(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment