FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2012 Threads] xSemaphore source codePosted by elri on October 21, 2012 Hello everybody,
I'm a new user of FreeRtos and I am trying to undersand how semaphore are managed. My question is quite simple : There is a semphr.h file, but I can't find the .c ! Where are xSemaphoreXXXX functions coded ?! Thanks a lot for your help,
Elri07
RE: xSemaphore source codePosted by Richard on October 21, 2012 Semaphores are, primarily, implemented as an abstraction layer above the queues. If you look in semphr.h you will see each semaphore macro is #defined to a function, most of which are defined in queue.c.
Regards.
RE: xSemaphore source codePosted by elri on October 21, 2012 Thank you for the tip !
Regards,
Elri
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|