Forum Discussion
Altera_Forum
Honored Contributor
15 years agoCrash and semaphores
Hi, when I make three tasks synchronized by semaphores (the tasks do nothing, they only make a Post and then a Pend to pass the control each other), after a number of iterations (this number i...
Altera_Forum
Honored Contributor
15 years agoI don't post sem_sync0 because I want that TaskStart creates the other tasks and stops: sem_sync0 never becomes 1, then TaskStart never runs, only at the beginning. But I don' think that this is the problem, because the same problem is verified when the three tasks are created in the main and not in TaskStart, i.e. when there isn't the thread TaskStart.
Thanks