Home > other >  Thread the malloc
Thread the malloc

Time:11-04

In the execution of the thread function
If the malloc memory
Then the while (1) processing task
Even if the free memory after the free code should not go, because in front of the while (1) task

How do I release the memory, please?

CodePudding user response:

No one know?

CodePudding user response:

In the while (1) program for malloc, free?

CodePudding user response:

refer to the second floor WangLanguager response:
in the while (1) program for malloc, free?

This is a method, but as long as the memory too frequent operation

CodePudding user response:

Don't can end task processing, jump out of the loop to release

CodePudding user response:

For task execution to release,
  • Related