HeMPS  8.0
Classes | Macros | Functions
new_task.h File Reference

This module defines the structure and some the function of NewTask FIFO. The NewTask structure stores information about new task requests received by the manager kernel. More...

#include "../../include/kernel_pkg.h"
Include dependency graph for new_task.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NewTask
 This structure stores the variables used to manage a new task requisition by the global manager kernel. More...
 

Macros

#define MAX_GLOBAL_TASKS   MAX_TASKS_APP + 1
 Changed: as only one app can being mapped, the number of requesting task is not higher than MAX_TASKS_APP (Plus one to first never be equal to last)
 

Functions

void init_new_task_list ()
 
void add_new_task (NewTask *)
 
NewTaskget_next_new_task ()
 

Detailed Description

This module defines the structure and some the function of NewTask FIFO. The NewTask structure stores information about new task requests received by the manager kernel.

HEMPS VERSION - 8.0 - support for RT applications

Distribution: June 2016

Created by: Marcelo Ruaro - contact: marce.nosp@m.lo.r.nosp@m.uaro@.nosp@m.acad.nosp@m..pucr.nosp@m.s.br

Research group: GAPH-PUCRS - contact: ferna.nosp@m.ndo..nosp@m.morae.nosp@m.s@pu.nosp@m.crs.b.nosp@m.r

Function Documentation

void add_new_task ( NewTask input)

Add a new task

Parameters
inputTask to be added
NewTask* get_next_new_task ( )

Remove the next new task positioned at first index

Returns
Pointer of the next task
void init_new_task_list ( )

Initializes the new_task_list array