Forum Discussion
Altera_Forum
Honored Contributor
21 years agouC/OS-II and malloc
I am not sure if this is the correct forum, but here goes.. We have an application which uses a couple of threads, most threads are just dormant. In high priority threads that run often, we'...
Altera_Forum
Honored Contributor
20 years agoHi:
Try disabling the interrupts (uC/OS-II scheduler uses the system timer interrupt for preemptive context switch), then malloc/free, and then re-enable interrupts.