Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCrash
Hi, some months ago I made a program in C++ in MicroC/OS-II installed on FPGA programmed with NIOS processor on Altera board. The software was composed of three threads that mad...
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- Because of task priorities it is possible that both high priority tasks repost the semaphore between the OSSemPost and the next OSSemPend of the low priority one. This will happen whenever the scheduler is activated exactly between the to instructions. I'm not sure, but I think such a situation could generate anomalies in the normal flow. --- Quote End --- I'm reading this old post, and I realize that I didn't understand why if both high priority tasks repost the semaphore between the OSSemPost and the next OSSemPend of the low priority one there can be anomalies. Thanks