Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: multiple semaphore

$
0
0

Hi Nitish,

[quote user="Nitish Gautam"]1. Semaphore 'count' doesnot seem to increment at all. Can you please let me know what's wrong am i doing here ?[/quote]

Do you see your LEDs toggling? In your setup, the count won't increment. A Semaphore_pend() will block when count == 0.

See this wiki page: http://processors.wiki.ti.com/index.php/SYS/BIOS_Training:_Semaphores

[quote user="Nitish Gautam"]2. can I use multiple semaphores for multiple tasks?[/quote]

Yes.


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>