Technical Support

RTX51: INITIAL STATE OF SEMAPHORES


Information in this article applies to:

  • RTX51 All Version

QUESTION

I use a semaphore to control write access to port output pins. After calling os_start_system all my tasks are waiting for the semaphore.

How are the semaphores initialized in RTX51?

ANSWER

When the RTX51 kernel starts semaphores are clear. You must initialize the semaphores using the os_send_token routine before you can use them.

Last Reviewed: Monday, May 31, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure