Interfaces, channels and ports
Interfaces, channels and ports
Interfaces, channels and ports
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
sc_semaphore<br />
• It is a channel used to h<strong>and</strong>le the case when there can be more<br />
copies or owners for one resource<br />
• A mutex can be considered a semaphore with a count of one<br />
• When creating an sc_semaphore object, it is necessary to specify<br />
how many are available<br />
• An sc_semaphore access consists of waiting for an available<br />
resource <strong>and</strong> then posting notice when finished with the<br />
resource (compare to sc_mutex)