Implementation details of semaphore objects in RTOS

Sep 26, 2008 2 Replies

Dear Experts, I am interested in knowing how do RTOS implement semaphore objects?It would be helpful if some one could let me know some links or some of your thoughts from your own experience. This is part of my own learning to update myself on what goes beneath when you take a semaphore or give a semaphore in a RTOS.



Looking farward for your thoughts and advanced thanks for the same,



Regards, s.subbarayan


Looking at the source of FreeRTOS (say) ought to give more than enough detail for the single processor case. When there are more processors involved then things get more complicated.

Peter

Buy a copy of MicroC/OS-II - The Realtime Kernel by Jean Labrosse. Suitable as a text book, it provides a detailed description of the RTOS. Source included on CD, but also available for download from the Micrium.com website.

Scott

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required