Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
7f13302d
Commit
7f13302d
authored
Nov 16, 2021
by
Maxime Perrotin
Browse files
Fix templates for timers
parent
597de821
Changes
3
Hide whitespace changes
Inline
Side-by-side
templates/concurrency_view/pohic_wrappers_body/pi.tmplt
View file @
7f13302d
...
...
@@ -12,6 +12,11 @@
@@SET@@ Trigger = TRUE
@@END_IF@@
@@END_TABLE@@
@@-- timer manager does not have taste properties, but the Set/Reset function are needed here
@@IF@@ @_Language_@ = Timer_Manager
@@SET@@ Trigger = TRUE
@@END_IF@@
@@-- check Remote_Function_Names to exclude cyclic interfaces such as the timer Tick
@@IF@@ @_EXIST:Remote_Function_Names_@ and @_Trigger_@ = TRUE
@@IF@@ @_Param_Names'Length_@ = 0 @@-- zero param
void pro_@_Parent_Function_@_@_Name_@(void)
...
...
templates/concurrency_view/pohic_wrappers_header/pi.tmplt
View file @
7f13302d
...
...
@@ -12,6 +12,10 @@
@@SET@@ Trigger = TRUE
@@END_IF@@
@@END_TABLE@@
@@-- timer manager does not have taste properties, but the Set/Reset function are needed here
@@IF@@ @_Language_@ = Timer_Manager
@@SET@@ Trigger = TRUE
@@END_IF@@
@@MACRO(PARAMETERS)@@
@@IF@@ @_Param_Names'Length_@ = 0
void
...
...
templates/skeletons/gui-runtime-body/function.tmplt
View file @
7f13302d
...
...
@@ -139,6 +139,13 @@ int create_exchange_queue(char* queue_name,
char full_queue_name[MAX_QUEUE_NAME_SIZE]; // To contain the full name of the queue
checkMQsize();
// It is not possible to have a queue of size 0. If this happens something has gone wrong
// when generating the PI_Message structure. We must abort, as it will fail at runtime
if (0 == max_msg_size) {
perror ("create_exchange_queue for was called with zero-size queue size, aborting");
exit(-1);
}
debug_printf(LVL_INFO, "create_exchange_queue: entering (%s)\n", queue_name);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment