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'm pretty sure the standard output drivers aren't thread safe, so if you write from several threads at the same time you can crash. It's better either to only print out from one task, or use something else, such as leds, to monitor the threads activities.