Technical Support
On-Line Manuals
RL-ARM User's Guide (MDK v4)
#include <rtl.h> OS_RESULT os_sem_send ( OS_ID semaphore ); /* The semaphore whose token count is incremented */
The os_sem_send function increments the number of tokens in the semaphore object identified by the function argument.
The os_sem_send function is in the RL-RTX library. The prototype is defined in rtl.h.
Note
The os_sem_send function always returns OS_R_OK.
isr_sem_send, os_sem_init, os_sem_wait
#include <rtl.h> OS_SEM semaphore1; __task void task1 (void) { .. os_sem_init (&semaphore1, 0); os_sem_send (&semaphore1); .. }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.