thread.tmplt 804 Bytes
Newer Older
1
2
@@-- The following tags are available in this template:
@@--
3
@@-- @_Thread_Name_@            : Thread name
4
5
6
7
8
9
10
11
@@-- @_Entry_Port_Name_@ : Name of the PI
@@-- @_RCM_@             : One of "CYCLIC_OPERATION", "SPORADIC_OPERATION"
@@-- @_Pro_Block_Name_@  : Name of the protected function
@@-- @_Node_Name_@       : Name of the deployment node
@@-- @_Remote_Threads_@  : Vector tag: output remote thread list
@@-- @_Remote_PIs_@      :    |_ Associated PI Name
@@--
@@-- Matrix of output ports: Remote thread/corresponding remote PI 
12
task @_CAPITALIZE:Thread_Name_@ is
13
14
15
16
17
18
19
   Port            : @_Entry_Port_Name_@
   Protected Block : @_Pro_Block_Name_@
   Node            : @_Node_Name_@
   Out_Ports       :
   @@TABLE@@
      @_Remote_Threads_@ -> @_Remote_PIs_@
   @@END_TABLE@@
20
end @_CAPITALIZE:Thread_Name_@;