Commit b6abfce9 authored by winckel's avatar winckel

Updated destination task info in MP.

Modified MP item group handling to avoid delaying task when freeing items, ok for RTAI use.

git-svn-id: 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent fc8f8185
......@@ -391,6 +391,8 @@ int itti_send_msg_to_task(task_id_t destination_task_id, instance_t instance, Me
#if defined(OAI_EMU) || defined(RTAI)
memory_pools_set_info (itti_desc.memory_pools_handle, message, 1, destination_task_id);
if (itti_desc.threads[destination_thread_id].task_state == TASK_STATE_ENDED)
This diff is collapsed.
......@@ -46,4 +46,6 @@ memory_pool_item_handle_t memory_pools_allocate (memory_pools_handle_t memory_po
void memory_pools_free (memory_pools_handle_t memory_pools_handle, memory_pool_item_handle_t memory_pool_item_handle, uint16_t info_0);
void memory_pools_set_info (memory_pools_handle_t memory_pools_handle, memory_pool_item_handle_t memory_pool_item_handle, int index, uint16_t info);
#endif /* MEMORY_POOLS_H_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment