|
| << Previous | Next >> |
void OSSemPend (OS_EVENT *pevent, INT16U timeout, INT8U *err);
Description
- Waits on a semaphore.
Parameters
- pevent
- Pointer to the desired semaphore's event control block
- timeout
- Time in clock ticks to wait for the resource. If 0, the task will wait until the resource becomes available or the event occurs.
- err
- Pointer to error message.
Library
- OS_SEM.C
See also
- OSSemAccept, OSSemCreate, OSSemPost, OSSemQuery
| 020-0059 Rev. D | << Previous | Next >> | µC/OS-II |