cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving and sending mail in the same task on CMSIS-RTOS

q123w123e123qweqwe
Associate III

Hi,

I'm new at both RTOS and object-orientated programming. and I have a problem with variables. I'm working on a project with TouchGFX that uses two-screen when I change the screen and come back again my values are reinitialized but I need that data. I'm also sending that data (typedef structure) to another task by using mail. But I neither hold that data on class nor resend from task again. My project stays in here:

static void prvCheckTasksWaitingTermination( void )

1 REPLY 1
hs2
Senior

No idea what mail is but the the function you‘re cycling around belongs to the FreeRTOS idle task. Means you‘re application is doing nothing (more or less).

Seems you should verify your inter-task communication code.