Ihcaamel
Newbie level 4

I made a program in mikroC and I used a function with variable of type char as subroutine.
my problem is that I am appealing to this sub program twice and this results in a compilation error:
2 365 Reentrancy is not allowed: function 'Emission_Message' called from two threads PR_PFE.c
47 365 Reentrancy is not allowed: function 'UART1_Write_Text' called from two threads __Lib_UART_c67.c
39 365 Reentrancy is not allowed: function 'UART1_Write' called from two threads __Lib_UART_c67.c
help me please !!!!!
my problem is that I am appealing to this sub program twice and this results in a compilation error:
2 365 Reentrancy is not allowed: function 'Emission_Message' called from two threads PR_PFE.c
47 365 Reentrancy is not allowed: function 'UART1_Write_Text' called from two threads __Lib_UART_c67.c
39 365 Reentrancy is not allowed: function 'UART1_Write' called from two threads __Lib_UART_c67.c
help me please !!!!!