<< Previous | Next >> | |
|
OS_EVENT * OSSemCreate( INT16U cnt );
Description
- Creates a semaphore.
Parameters
- cnt
- The initial value of the semaphore.
Return value
- Pointer to the event control block (
OS_EVENT
) associated with the created semaphore, or null if no event control block is available.Library
- UCOS2.LIB
See also
- OSSemAccept, OSSemPend, OSSemPost, OSSemQuery
Dynamic C Functions | << Previous | Next >> | rabbit.com |